diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-09 07:20:22 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-09 07:21:42 +0000 |
commit | 0936d6fa20894159d75eb1933325d653e4820d90 (patch) | |
tree | 996e887e25efd6c0e50f2afa8aa083987f08bd13 /lisp/mouse.el | |
parent | 43f8690ebf3439af90cf72c619e75afb4cff1a83 (diff) | |
download | emacs-0936d6fa20894159d75eb1933325d653e4820d90.tar.gz emacs-0936d6fa20894159d75eb1933325d653e4820d90.tar.bz2 emacs-0936d6fa20894159d75eb1933325d653e4820d90.zip |
Implement `follow-tooltip' for DND on Haiku
* lisp/term/haiku-win.el (x-begin-drag): Implement
`follow-tooltip'.
* src/haikufns.c (Fx_show_tip): Record last dx and dy.
(syms_of_haikufns): New staticpros.
* src/haikuselect.c (haiku_unwind_drag_message): Clear new flag.
(Fhaiku_drag_message): New argument `follow-tooltip'. Set new
flag.
(haiku_dnd_compute_tip_xy): New function.
(haiku_note_drag_motion): Move tooltip if flag is true.
* src/haikuterm.c (haiku_read_socket): Don't generate help event
if mouse moves onto a tooltip during DND.
* src/haikuterm.h: Update prototypes.
Diffstat (limited to 'lisp/mouse.el')
0 files changed, 0 insertions, 0 deletions