make focus fallback when it is given to the frame (this happens if you unmap the client but not the frame for eg in iconify animation)
This commit is contained in:
parent
3409148047
commit
97ffe20f7e
1 changed files with 3 additions and 0 deletions
|
@ -309,6 +309,9 @@ static gboolean wanted_focusevent(XEvent *e)
|
||||||
/* This means focus moved from one client to another */
|
/* This means focus moved from one client to another */
|
||||||
if (detail == NotifyNonlinearVirtual)
|
if (detail == NotifyNonlinearVirtual)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
/* This means focus moved to the frame window */
|
||||||
|
if (detail == NotifyInferior)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
/* Otherwise.. */
|
/* Otherwise.. */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue