1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 21:41:48 -08:00

Fix DND tooltip handling with tooltip-reuse-hidden-frame

* src/xterm.c (x_dnd_update_tooltip_position): Don't move window
if tip_f is not visible.
This commit is contained in:
Po Lu 2022-06-10 08:58:51 +08:00
parent 8ef3862fa0
commit 0e2f94ded0

View file

@ -15239,6 +15239,7 @@ x_dnd_update_tooltip_position (int root_x, int root_y)
tip_f = XFRAME (tip_frame);
if (!FRAME_LIVE_P (tip_f)
|| !FRAME_VISIBLE_P (tip_f)
|| (FRAME_X_DISPLAY (tip_f)
!= FRAME_X_DISPLAY (x_dnd_frame)))
return;