]> git.eshelyaron.com Git - emacs.git/commit
Avoid ClientMessage overhead when dragging stuff to other frames
authorPo Lu <luangruo@yahoo.com>
Sat, 26 Mar 2022 02:15:53 +0000 (10:15 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 26 Mar 2022 02:15:53 +0000 (10:15 +0800)
commit5359062be603e22d1ee07c21b0840fdb98a704a3
treef278bf1a27d04b21d19703d2995478c565db76ad
parent21ecf6b24d0549a9f27bcab51dbd8c8b1a37ef86
Avoid ClientMessage overhead when dragging stuff to other frames

* lisp/dired.el (dired-mouse-drag): Handle correctly dragging
from dired buffers in nonselected windows.
* lisp/x-dnd.el (x-dnd-handle-drag-n-drop-event): Understand new
client message type.
* src/xterm.c (x_dnd_send_enter, x_dnd_send_position)
(x_dnd_send_leave): Ignore if window is the top window of a
frame.
(x_dnd_send_drop): Send special DND event in that case.
lisp/dired.el
lisp/x-dnd.el
src/xterm.c