]> git.eshelyaron.com Git - emacs.git/commit
Disallow drag and drop inside a menu-entry
authorPo Lu <luangruo@yahoo.com>
Tue, 12 Apr 2022 08:36:42 +0000 (16:36 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 12 Apr 2022 08:38:02 +0000 (16:38 +0800)
commit78784ccfadaee1c86207ecc360db7236285713f5
treec4c3487d2186e8fa910a045f8a1408325956750f
parent17f0900d7bd783375e07f642cf8740c3e1dbaa8f
Disallow drag and drop inside a menu-entry

* src/xterm.c (x_dnd_cleanup_drag_and_drop): Always free DND
targets even if waiting for finish.
(x_dnd_begin_drag_and_drop): Free targets correctly when
signalling error and prevent activating drag-and-drop inside a
menu or popup.  (It doesn't work.)
src/xterm.c