summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-10-28 21:19:34 +0300
committerEli Zaretskii <eliz@gnu.org>2021-10-28 21:19:34 +0300
commit64cc31b5c80ab165c4e565ff8943919d832ebd2f (patch)
tree1bbdb35e05dfd79c84cff292e6693962481f6997 /src
parent09f3ac60cc99dcb56632c55f0dfd0fbeadc60dc0 (diff)
; * src/keyboard.c (readable_events): Fix a thinko.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6aecebf4054..5d4bb6ee8ff 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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)