]> git.eshelyaron.com Git - emacs.git/commit
Fix menu bar event detection on XI2 builds using Core Input
authorPo Lu <luangruo@yahoo.com>
Thu, 10 Mar 2022 01:12:59 +0000 (09:12 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 10 Mar 2022 01:13:08 +0000 (09:13 +0800)
commit70d63ead212b7ca1e561b869d44fddb14d0445af
tree629ae71e2641c4c166b26df0f4be48c272f10616
parent2353893bd04bfee7c7659a758cf7c5072121a90c
Fix menu bar event detection on XI2 builds using Core Input

* src/gtkutil.c (xg_get_gdk_scale): Always return 1 on GTK+ 2.
(xg_event_is_for_menubar): Fix some ifdefs.
* src/xterm.c (handle_one_xevent): Update a comment.
src/gtkutil.c
src/xterm.c