]> git.eshelyaron.com Git - emacs.git/commit
Keep track of keyboard state during drag and drop
authorPo Lu <luangruo@yahoo.com>
Thu, 14 Apr 2022 11:02:13 +0000 (19:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 14 Apr 2022 11:02:13 +0000 (19:02 +0800)
commite5ef0fe832a0514f83fea47fa16aab4b1a5d11a4
treee34023cf5d63445e6c9b00f6b70254a54a76e6f7
parent203c503ff22e6c3c7b75d0e30d1974bb0ca9e60a
Keep track of keyboard state during drag and drop

* src/xterm.c (x_dnd_cleanup_drag_and_drop): Deselect for
keyboard state changes.
(x_dnd_begin_drag_and_drop): Select for keyboard state changes
when XKB is available.
(x_dnd_update_state, handle_one_xevent): Use current XKB state
if it is available.
(x_term_init): Reformat code a little.
src/xterm.c