summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index f794e466..31fa0ef9 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -336,8 +336,7 @@ void focus_cycle_draw_indicator()
XUnmapWindow(ob_display, focus_indicator.bottom.win);
/* kill enter events cause by this unmapping */
- XSync(ob_display, FALSE);
- while (XCheckTypedEvent(ob_display, EnterNotify, &e));
+ event_ignore_queued_enters();
} else {
/*
if (focus_cycle_target)