From 86b7f4e543a918a24bf204aab355987c658522d9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 22 Apr 2007 22:21:32 +0000 Subject: [PATCH] use event_ignore_queued_enters --- openbox/focus.c | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.44.0