when windows reverttoparent, we will get a notifynonlinear when the frame closes
This commit is contained in:
parent
56d42ce66a
commit
4543c1761a
1 changed files with 3 additions and 0 deletions
|
@ -372,6 +372,9 @@ static gboolean wanted_focusevent(XEvent *e)
|
|||
/* This means focus moved from one client to another */
|
||||
if (detail == NotifyNonlinearVirtual)
|
||||
return TRUE;
|
||||
/* This means focus had moved to our frame window and now moved off */
|
||||
if (detail == NotifyNonlinear)
|
||||
return TRUE;
|
||||
|
||||
/* Otherwise.. */
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue