diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 22:21:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 22:21:32 +0000 |
| commit | 86b7f4e543a918a24bf204aab355987c658522d9 (patch) | |
| tree | 5939559c7c449e1df9ee64e706e41803207b05ae | |
| parent | 4543c1761a98f3feecf1630f5be78974753ee5f5 (diff) | |
use event_ignore_queued_enters
| -rw-r--r-- | openbox/focus.c | 3 |
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) |
