projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4543c17
)
use event_ignore_queued_enters
author
Dana Jansens
<danakj@orodu.net>
Sun, 22 Apr 2007 22:21:32 +0000
(22:21 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 22 Apr 2007 22:21:32 +0000
(22:21 +0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
f794e46
..
31fa0ef
100644
(file)
--- 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)