diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-10 15:51:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-10 15:51:44 +0000 |
| commit | bd6d80f16848d107810a56d9ac1c295c1ea778be (patch) | |
| tree | 1e45bdd118e4e084969dfa6a1773f6aa79b2012b | |
| parent | 6c431d3a454eff91b21be0ad933c7e96a958816a (diff) | |
be more careful about ignoring focusin/out event pairs
| -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 c30d52e5..02ead5b2 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -313,7 +313,8 @@ static gboolean event_ignore(XEvent *e, Client *client) #endif /* is the focused window getting a FocusOut/In back to itself? */ - if (fe.xfocus.window == e->xfocus.window) { + if (fe.xfocus.window == e->xfocus.window && + !event_ignore(&fe, client)) { #ifdef DEBUG_FOCUS g_message("focused window got an Out/In back to " "itself IGNORED both"); |
