emacs-diffs
[Top][All Lists]
Advanced

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

master d632c3d7db: Fix mouse face dismissal in some widget popups


From: Po Lu
Subject: master d632c3d7db: Fix mouse face dismissal in some widget popups
Date: Sat, 7 May 2022 07:01:53 -0400 (EDT)

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

    Fix mouse face dismissal in some widget popups
    
    * src/xterm.c (handle_one_xevent): Accept XINotifyUngrab as
    well.
---
 src/xterm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index c841240a72..848389ce96 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -16909,7 +16909,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
 
 #ifdef USE_X_TOOLKIT
              if (popup_activated ()
-                 && leave->mode == XINotifyPassiveUngrab)
+                 && (leave->mode == XINotifyPassiveUngrab
+                     || leave->mode == XINotifyUngrab))
                any = x_any_window_to_frame (dpyinfo, leave->event);
 #endif
 



reply via email to

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