]> git.eshelyaron.com Git - emacs.git/commit
Better handle drag-and-drop from one Emacs frame to another
authorPo Lu <luangruo@yahoo.com>
Wed, 16 Mar 2022 04:33:15 +0000 (12:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 16 Mar 2022 04:33:15 +0000 (12:33 +0800)
commitf62a6acd00fa5045fbc537bcaa87756416e246a4
treeff29580e4f687a5d5ec7841486cd1d62f002f27f
parent5ff13718a53c161c3a0d3e8795544a740c10064b
Better handle drag-and-drop from one Emacs frame to another

* doc/lispref/frames.texi (Drag and Drop): Document new
parameter `return-frame' to `x-begin-drag'.
* lisp/mouse.el (mouse-drag-and-drop-region): Utilize new
feature.

* src/xfns.c (Fx_begin_drag): New parameter `return-frame'.
* src/xterm.c (x_dnd_begin_drag_and_drop): New parameter
return_frame_p.
(handle_one_xevent): Set new flags and return frame whenever
appropriate.
* src/xterm.h: Update prototypes.
doc/lispref/frames.texi
lisp/mouse.el
src/xfns.c
src/xterm.c
src/xterm.h