From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: James Ahlborn <jahlborn@getguru.com>,
martin rudalics <rudalics@gmx.at>,
54863@debbugs.gnu.org
Subject: bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1
Date: Tue, 06 Sep 2022 20:13:06 +0800 [thread overview]
Message-ID: <87a67cbt0t.fsf@yahoo.com> (raw)
In-Reply-To: <877d2gu4u0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 06 Sep 2022 13:20:39 +0200")
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.
next prev parent reply other threads:[~2022-09-06 12:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 20:18 bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1 James Ahlborn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-12 7:45 ` martin rudalics
2022-04-12 8:14 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-06 11:20 ` Lars Ingebrigtsen
2022-09-06 12:13 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-09-06 13:24 ` Lars Ingebrigtsen
2022-09-06 13:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-06 13:40 ` Lars Ingebrigtsen
2022-09-07 1:05 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-07 12:51 ` Lars Ingebrigtsen
2022-04-12 21:25 ` James Ahlborn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-13 8:45 ` martin rudalics
2022-04-13 13:07 ` James Ahlborn via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a67cbt0t.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=54863@debbugs.gnu.org \
--cc=jahlborn@getguru.com \
--cc=larsi@gnus.org \
--cc=luangruo@yahoo.com \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.