]> git.eshelyaron.com Git - emacs.git/commit
Improve drag-and-drop emulation time handling
authorPo Lu <luangruo@yahoo.com>
Sat, 9 Jul 2022 08:18:35 +0000 (16:18 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 9 Jul 2022 08:18:35 +0000 (16:18 +0800)
commitbab449f034f44657ff3ed1bf533be6a27f4dafd6
tree107dfc478b04d3ba772f8ef36a4670846b2bebd9
parentedabfe4ff66090b3b2c433962df4cfe1a68259fd
Improve drag-and-drop emulation time handling

* src/xselect.c (x_handle_selection_request): Use
display-specific pending DND time.
(x_set_pending_dnd_time): Delete function.
* src/xterm.c (x_dnd_do_unsupported_drop, handle_one_xevent):
Set dpyinfo->pending_dnd_time instead.
* src/xterm.h (struct x_display_info): New field
`pending_dnd_time'.  Make handling pending drops
display-specific to avoid interference when there are multiple
displays.
src/xselect.c
src/xterm.c
src/xterm.h