]> git.eshelyaron.com Git - emacs.git/commit
Improve behavior of dragging text to windows on top of frames
authorPo Lu <luangruo@yahoo.com>
Mon, 4 Apr 2022 05:10:01 +0000 (13:10 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 4 Apr 2022 05:10:01 +0000 (13:10 +0800)
commitaea799838b7ffd11f187c2511ecca250c8b99411
treeb0bff026f01c9e04480bd732016c2e510e5e3315
parent9ff2f0be32be621a0a1953cac2d552afebafe226
Improve behavior of dragging text to windows on top of frames

* doc/lispref/frames.texi (Drag and Drop): Document new meaning
of `return-frame' in `x-begin-drag'.
* lisp/mouse.el (mouse-drag-and-drop-region): Use `now' when
calling `x-begin-drag'.
* src/xfns.c (Fx_begin_drag): Update doc string.
* src/xterm.c (x_dnd_begin_drag_and_drop): Accept return_frame
as a Lisp_Object and handle Qnow correctly.
(XTmouse_position): Ignore tooltip frames when processing
`drag-source'.
(syms_of_xterm): New defsym `now'.
* src/xterm.h: Update prototypes.
doc/lispref/frames.texi
lisp/mouse.el
src/xfns.c
src/xterm.c
src/xterm.h