]> git.eshelyaron.com Git - emacs.git/commit
Disable middle click selection emulation during XDS
authorPo Lu <luangruo@yahoo.com>
Fri, 1 Jul 2022 01:10:34 +0000 (09:10 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 1 Jul 2022 01:10:34 +0000 (09:10 +0800)
commit833767e53fcb55e3000b54de1cb3803900c363e9
treece2833a62cdb6811024becc6b70f198d10fed2eb
parentce00057cb91ba78596f06b674006b452666485a9
Disable middle click selection emulation during XDS

* doc/lispref/frames.texi (Drag and Drop): Document new
variable.
* lisp/x-dnd.el (x-dnd-do-direct-save): Disable drop emulation
during XDS drag-and-drop.

* src/keyboard.c (kbd_buffer_get_event): Handle recorded value.
* src/xterm.c (x_dnd_do_unsupported_drop): Return if new
variable is nil.
(x_dnd_send_unsupported_drop): Record value of new variable in
events.
(x_dnd_begin_drag_and_drop): Handle recorded value.
(syms_of_xterm): New variable `x-dnd-use-unsupported-drop'.
doc/lispref/frames.texi
lisp/x-dnd.el
src/keyboard.c
src/xterm.c