]> Dogcows Code - chaz/openbox/commitdiff
watch for windows without frames, they can be in the transient order before they...
authorDana Jansens <danakj@orodu.net>
Sun, 27 Apr 2003 22:25:15 +0000 (22:25 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 27 Apr 2003 22:25:15 +0000 (22:25 +0000)
openbox/stacking.c

index 6ff01721061fbc63c3aa7e513d5f2ad049822619..89b5d53010c93af4ab08c625a7cdcdf2e2bf9271 100644 (file)
@@ -81,7 +81,8 @@ static void raise_recursive(Client *client)
 
     /* raise transients first */
     for (sit = client->transients; sit; sit = sit->next)
-        raise_recursive(sit->data);
+        if (((Client*)sit->data)->frame)
+            raise_recursive(sit->data);
 
     /* find 'it' where it is the positiion in the stacking order where
        'client' will be inserted *before* */
This page took 0.021639 seconds and 4 git commands to generate.