From: Dana Jansens Date: Sat, 19 Apr 2003 18:30:58 +0000 (+0000) Subject: only look for FocusOut events on the same window X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=540f547babe3d3aa27aac9b28dc03a8acb325edf;p=chaz%2Fopenbox only look for FocusOut events on the same window --- diff --git a/openbox/event.c b/openbox/event.c index bdafd126..b052fe1a 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -291,7 +291,8 @@ static gboolean event_ignore(XEvent *e, Client *client) 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) {