summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-04-04 13:10:01 +0800
committerPo Lu <luangruo@yahoo.com>2022-04-04 13:10:01 +0800
commitaea799838b7ffd11f187c2511ecca250c8b99411 (patch)
treeb0bff026f01c9e04480bd732016c2e510e5e3315 /src/xterm.h
parent9ff2f0be32be621a0a1953cac2d552afebafe226 (diff)
downloademacs-aea799838b7ffd11f187c2511ecca250c8b99411.tar.gz
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.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 062b34b35ce..57036af2bb5 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1389,7 +1389,7 @@ extern void x_scroll_bar_configure (GdkEvent *);
#endif
extern Lisp_Object x_dnd_begin_drag_and_drop (struct frame *, Time, Atom,
- bool, Atom *, const char **,
+ Lisp_Object, Atom *, const char **,
size_t, bool);
extern void x_set_dnd_targets (Atom *, int);