]> git.eshelyaron.com Git - emacs.git/commit
Minor fixes to menus on XI2
authorPo Lu <luangruo@yahoo.com>
Thu, 14 Apr 2022 08:02:12 +0000 (16:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 14 Apr 2022 08:04:59 +0000 (16:04 +0800)
commit203c503ff22e6c3c7b75d0e30d1974bb0ca9e60a
treeea558353a347de0844bcecfcc6e3a6bcb7a30712
parentc10024911d6c225645c22e87a7326c13c0116ac6
Minor fixes to menus on XI2

* src/xfns.c (Fx_create_frame): Populate `xi_masks'.
* src/xmenu.c (x_activate_menubar)
(create_and_show_popup_menu, x_menu_show): Only clear input
extension grabs if we (or the toolkit) actually selected for
XI_ButtonPress events.
* src/xterm.c (xi_frame_selected_for): New function.
(xi_populate_device_from_info, handle_one_xevent): Store device
use instead of just whether or not it's a master device.
(x_dnd_begin_drag_and_drop): Clean up block_input stuff.
* src/xterm.h: Update prototypes.
(struct xi_device_t): Rename `master_p' to `use'.
src/xfns.c
src/xmenu.c
src/xterm.c
src/xterm.h