From: Dana Jansens Date: Sun, 22 Apr 2007 22:21:32 +0000 (+0000) Subject: use event_ignore_queued_enters X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=86b7f4e543a918a24bf204aab355987c658522d9;hp=4543c1761a98f3feecf1630f5be78974753ee5f5;p=chaz%2Fopenbox 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)