unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Hook run after a frame is resized
@ 2022-02-08  8:05 Augusto Stoffel
  0 siblings, 0 replies; only message in thread
From: Augusto Stoffel @ 2022-02-08  8:05 UTC (permalink / raw)
  To: emacs-devel

Such a thing seems to be missing, should it be added?

`move-frame-functions' runs when the top left corner coordinate of the
frame changes.  So it already runs when the frame is resized from the
top or left edges, or any corner other than the bottom right. It might
make sense to run it the remaining cases as well.

Note also that on Wayland, the frame is not allowed to know its absolute
coordinates, so currently `move-frame-functions' is never invoked.  If
my use of this hook (undecorate the frame when maximized) is a
representative one, then the change suggested above would lead to fewer
surprises than keeping the status quo.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-08  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08  8:05 Hook run after a frame is resized Augusto Stoffel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).