bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1


From: Lars Ingebrigtsen
Subject: bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1
Date: Tue, 06 Sep 2022 13:20:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> It's because the responsible code was commented out, probably sometime
> after the release of 27.1.  Please try the following patch (I suspect
> the didExitFullScreen bug alluded to in the comment is also related to
> using emacs_event somehow):

[...]

> +      ie.kind = MOVE_FRAME_EVENT;
> +      XSETFRAME (ie.frame_or_window, emacsframe);
> +      XSETINT (ie.x, emacsframe->left_pos);
> +      XSETINT (ie.y, emacsframe->top_pos);

I tried the patch on Macos now, and it did not fix the problem.  I.e.,
the move-frame-functions hook was not called when I moved the frame.





reply via email to

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