]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/keyboard.c (readable_events): Fix a thinko.
authorEli Zaretskii <eliz@gnu.org>
Thu, 28 Oct 2021 18:19:34 +0000 (21:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 28 Oct 2021 18:19:34 +0000 (21:19 +0300)
src/keyboard.c

index 6aecebf405442c9e843e00aa0d445f5092aa9bd6..5d4bb6ee8ffc43ce1ff7934f79c046b6e85a2c06 100644 (file)
@@ -3472,10 +3472,10 @@ readable_events (int flags)
 #ifdef USE_TOOLKIT_SCROLL_BARS
                    (flags & READABLE_EVENTS_FILTER_EVENTS) &&
 #endif
-                   ((input_pending_p_filter_events
+                   ((!input_pending_p_filter_events
                      && (event->kind == FOCUS_IN_EVENT
                          || event->kind == FOCUS_OUT_EVENT))
-                    || (!input_pending_p_filter_events
+                    || (input_pending_p_filter_events
                         && is_ignored_event (event))))
 #ifdef USE_TOOLKIT_SCROLL_BARS
                  && !((flags & READABLE_EVENTS_IGNORE_SQUEEZABLES)