[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: |
Po Lu |
Subject: |
bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1 |
Date: |
Tue, 06 Sep 2022 20:13:06 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
>> + 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.
I missed a call to kbd_buffer_store_event after the last XSETINT.
What happens if you add:
kbd_buffer_store_event (&ie);
after that?
Thanks.