diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-05 00:54:03 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-05 00:54:03 +0000 |
commit | 1e1a66831bf1d8ca33b3ad37d23211fa98d92e63 (patch) | |
tree | bf2e05c9bac5b72f1bab68ab15738649b3e75467 /src/haikuterm.h | |
parent | 74100997b3853a6c00c60e1998ed5a86a9a01bc3 (diff) | |
download | emacs-1e1a66831bf1d8ca33b3ad37d23211fa98d92e63.tar.gz emacs-1e1a66831bf1d8ca33b3ad37d23211fa98d92e63.tar.bz2 emacs-1e1a66831bf1d8ca33b3ad37d23211fa98d92e63.zip |
Respect new DND options when dragging to ourselves on Haiku
* lisp/mouse.el (mouse-drag-and-drop-region): Allow dragging to
the current frame if we know `return-frame' doesn't work.
* lisp/term/haiku-win.el (haiku-dnd-drag-handler): New function.
* src/haiku_support.cc (MouseMoved): Don't send drag motion
events for the drag frame.
* src/haikuselect.c (haiku_note_drag_motion_1)
(haiku_note_drag_motion_2, haiku_note_drag_motion): New
functions.
(syms_of_haikuselect): New variable `haiku-drag-track-function'.
* src/haikuterm.c (haiku_read_socket): Note mouse motion in that
case.q
* src/haikuterm.h: Update prototypes.
Diffstat (limited to 'src/haikuterm.h')
-rw-r--r-- | src/haikuterm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/haikuterm.h b/src/haikuterm.h index 5f8052f0f99..8f311b2ab12 100644 --- a/src/haikuterm.h +++ b/src/haikuterm.h @@ -293,6 +293,7 @@ extern void haiku_put_pixel (haiku bitmap, int x, int y, unsigned long pixel); extern Lisp_Object haiku_menu_show (struct frame *f, int x, int y, int menu_flags, Lisp_Object title, const char **error_name); extern Lisp_Object haiku_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents); +extern void haiku_note_drag_motion (void); extern void initialize_frame_menubar (struct frame *f); |