]> git.eshelyaron.com Git - emacs.git/commit
Make XInput 2 features work on GTK 2 builds
authorPo Lu <luangruo@yahoo.com>
Wed, 9 Mar 2022 13:29:17 +0000 (21:29 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 9 Mar 2022 13:29:17 +0000 (21:29 +0800)
commitfe8d49e1add8421afb16f5666bdbbabc7704f9c1
treece5fad64ced4709e851649984d506af067d8d449
parentb883e8bc65d314273b63da873e1cdbbac23978e9
Make XInput 2 features work on GTK 2 builds

* src/xfns.c (setup_xi_event_mask): On GTK 2, select for
button, motion, entry/exit and key events.
* src/xmenu.c (create_and_show_popup_menu): Clear XI grab if
appropriate.
* src/xterm.c (handle_one_xevent): Pass some kinds of input
extension events to GTK manually on versions of GTK+ that don't
understand them.
src/xfns.c
src/xmenu.c
src/xterm.c