From: Dana Jansens Date: Sun, 22 Apr 2007 22:21:32 +0000 (+0000) Subject: use event_ignore_queued_enters X-Git-Tag: openbox-3_3_991-RELEASE~150^2~235 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=86b7f4e543a918a24bf204aab355987c658522d9;p=dana%2Fopenbox.git use event_ignore_queued_enters --- 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)