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:
Dana Jansens 2007-05-05 18:28:40 +00:00
parent 3409148047
commit 97ffe20f7e

View file

@ -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;