when windows reverttoparent, we will get a notifynonlinear when the frame closes

This commit is contained in:
Dana Jansens 2007-04-22 21:29:02 +00:00
parent 56d42ce66a
commit 4543c1761a

View file

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