aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 8ea15d3c890..be727a6549a 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3324,7 +3324,7 @@ readable_events (int flags)
3324 if (flags & READABLE_EVENTS_DO_TIMERS_NOW) 3324 if (flags & READABLE_EVENTS_DO_TIMERS_NOW)
3325 timer_check (); 3325 timer_check ();
3326 3326
3327 /* If the buffer contains only FOCUS_IN_EVENT events, and 3327 /* If the buffer contains only FOCUS_IN/OUT_EVENT events, and
3328 READABLE_EVENTS_FILTER_EVENTS is set, report it as empty. */ 3328 READABLE_EVENTS_FILTER_EVENTS is set, report it as empty. */
3329 if (kbd_fetch_ptr != kbd_store_ptr) 3329 if (kbd_fetch_ptr != kbd_store_ptr)
3330 { 3330 {
@@ -3344,7 +3344,8 @@ readable_events (int flags)
3344#ifdef USE_TOOLKIT_SCROLL_BARS 3344#ifdef USE_TOOLKIT_SCROLL_BARS
3345 (flags & READABLE_EVENTS_FILTER_EVENTS) && 3345 (flags & READABLE_EVENTS_FILTER_EVENTS) &&
3346#endif 3346#endif
3347 event->kind == FOCUS_IN_EVENT) 3347 (event->kind == FOCUS_IN_EVENT
3348 || event->kind == FOCUS_OUT_EVENT))
3348#ifdef USE_TOOLKIT_SCROLL_BARS 3349#ifdef USE_TOOLKIT_SCROLL_BARS
3349 && !((flags & READABLE_EVENTS_IGNORE_SQUEEZABLES) 3350 && !((flags & READABLE_EVENTS_IGNORE_SQUEEZABLES)
3350 && (event->kind == SCROLL_BAR_CLICK_EVENT 3351 && (event->kind == SCROLL_BAR_CLICK_EVENT