From d632c3d7db62f5de3dea68324e6f3937827be385 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 7 May 2022 19:00:04 +0800 Subject: [PATCH] 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 c841240a72b..848389ce965 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 -- 2.39.2