]> Dogcows Code - chaz/openbox/commitdiff
make focus fallback when it is given to the frame (this happens if you unmap the...
authorDana Jansens <danakj@orodu.net>
Sat, 5 May 2007 18:28:40 +0000 (18:28 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 5 May 2007 18:28:40 +0000 (18:28 +0000)
openbox/event.c

index faa1a26419ed5e404f71e88840ea5d17b0412182..5d5f319f2bb7f2080e916fa4713999232179b55a 100644 (file)
@@ -309,6 +309,9 @@ static gboolean wanted_focusevent(XEvent *e)
         /* This means focus moved from one client to another */
         if (detail == NotifyNonlinearVirtual)
             return TRUE;
+        /* This means focus moved to the frame window */
+        if (detail == NotifyInferior)
+            return TRUE;
 
         /* Otherwise.. */
         return FALSE;
This page took 0.032331 seconds and 4 git commands to generate.