sync before removing all the enter events. this way it actually catches them
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
openbox/screen.c
→
openbox/screen.c
@@ -430,6 +430,7 @@ frame_hide(c->frame);
} } + XSync(ob_display, FALSE); /* focus the last focused window on the desktop, and ignore enter events from the switch so it doesnt mess with the focus */ while (XCheckTypedEvent(ob_display, EnterNotify, &e));