emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0e2f94ded0: Fix DND tooltip handling with tooltip-reuse-hidden-fr


From: Po Lu
Subject: master 0e2f94ded0: Fix DND tooltip handling with tooltip-reuse-hidden-frame
Date: Thu, 9 Jun 2022 20:59:03 -0400 (EDT)

branch: master
commit 0e2f94ded0193f8d4eece158e865e21e35aa7aff
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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.
---
 src/xterm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xterm.c b/src/xterm.c
index f0cd5e9c8b..77dea3ad4d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]