use event_ignore_queued_enters

This commit is contained in:
Dana Jansens 2007-04-22 22:21:32 +00:00
parent 4543c1761a
commit 86b7f4e543

View file

@ -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)