emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 64cc31b: ; * src/keyboard.c (readable_events): Fix a thinko.


From: Eli Zaretskii
Subject: master 64cc31b: ; * src/keyboard.c (readable_events): Fix a thinko.
Date: Thu, 28 Oct 2021 14:20:13 -0400 (EDT)

branch: master
commit 64cc31b5c80ab165c4e565ff8943919d832ebd2f
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/keyboard.c (readable_events): Fix a thinko.
---
 src/keyboard.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index 6aecebf..5d4bb6e 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]