]> Dogcows Code - chaz/openbox/commitdiff
when windows reverttoparent, we will get a notifynonlinear when the frame closes
authorDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 21:29:02 +0000 (21:29 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 21:29:02 +0000 (21:29 +0000)
openbox/event.c

index b020321a1460a3525168c81d6b4ef52197fdc4d3..5bb0e2a09f4971d207bbde7e57a130e3a2da17b1 100644 (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;
This page took 0.022646 seconds and 4 git commands to generate.