only look for FocusOut events on the same window
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -291,7 +291,8 @@ XEvent fe;
gboolean fallback = TRUE; while (TRUE) { - if (!XCheckTypedEvent(ob_display, FocusOut, &fe)) + if (!XCheckTypedWindowEvent(ob_display, FocusOut, + e->xfocus.window,&fe)) if (!XCheckTypedEvent(ob_display, FocusIn, &fe)) break; if (fe.type == FocusOut) {