emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hook run after a frame is resized


From: Augusto Stoffel
Subject: Hook run after a frame is resized
Date: Tue, 08 Feb 2022 09:05:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]