From: Po Lu Date: Sat, 7 May 2022 11:00:04 +0000 (+0800) Subject: Fix mouse face dismissal in some widget popups X-Git-Tag: emacs-29.0.90~1910^2~937 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d632c3d7db62f5de3dea68324e6f3937827be385;p=emacs.git Fix mouse face dismissal in some widget popups * src/xterm.c (handle_one_xevent): Accept XINotifyUngrab as well. --- 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