only look for FocusOut events on the same window
This commit is contained in:
parent
bcbe5c8f82
commit
540f547bab
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue