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 6ff0172..89b5d53 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* */