diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-19 18:30:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-19 18:30:58 +0000 |
| commit | 540f547babe3d3aa27aac9b28dc03a8acb325edf (patch) | |
| tree | 015cff6001465b624729d66321e9103a18ea3432 /openbox | |
| parent | bcbe5c8f823cc12bd64feb2cf87d981e4f8c99fa (diff) | |
only look for FocusOut events on the same window
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |
