[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 2f31dbeadf: Also show mouse DND tooltip contents during inter
From: |
Eli Zaretskii |
Subject: |
Re: master 2f31dbeadf: Also show mouse DND tooltip contents during interprogram drag-and-drop |
Date: |
Thu, 09 Jun 2022 10:03:27 +0300 |
> branch: master
> commit 2f31dbeadff0abc38ded5dd072df1ec179c49945
> Author: Po Lu <luangruo@yahoo.com>
> Commit: Po Lu <luangruo@yahoo.com>
>
> Also show mouse DND tooltip contents during interprogram drag-and-drop
>
> * doc/lispref/frames.texi (Drag and Drop): Document new
> parameter to `x-begin-drag'.
> * lisp/mouse.el (mouse-drag-and-drop-region): Don't hide tooltip
> when initiating interprogram drag-and-drop.
> * lisp/term/haiku-win.el (x-begin-drag):
> * lisp/term/ns-win.el (x-begin-drag): Add stubs for new
> parameter.
> * src/xfns.c (Fx_begin_drag): New parameter `follow-tooltip'.
> (Fx_show_tip, syms_of_xfns): Add records of the last dx and dy
> given to `x-show-tip'.
> * src/xterm.c (x_clear_dnd_monitors): New function.
> (x_dnd_begin_drag_and_drop): Save monitor attributes list if
> appropriate.
> (x_dnd_compute_tip_xy, x_dnd_update_tooltip_position): New
> function.
> (x_dnd_update_state, handle_one_xevent): Update tooltip position
> during DND mouse movement.
> (syms_of_xterm): Update staticpros.
> * src/xterm.h: Update prototypes.
Instead of recording tooltip's coordinates in static C variables
(which then could cause potential problems with stale values),
wouldn't it be better to just move the tip frame from Lisp when the
mouse moves?
- Re: master 2f31dbeadf: Also show mouse DND tooltip contents during interprogram drag-and-drop,
Eli Zaretskii <=