]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mouse face dismissal in some widget popups
authorPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 11:00:04 +0000 (19:00 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 11:01:42 +0000 (19:01 +0800)
* src/xterm.c (handle_one_xevent): Accept XINotifyUngrab as
well.

src/xterm.c

index c841240a72ba5ae9e4184f90dd2fec724f84a12a..848389ce9654f2130c0c4d925d76f8603103e1be 100644 (file)
@@ -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