]> Dogcows Code - chaz/openbox/commitdiff
dont count non-normal windows as parents
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 02:15:31 +0000 (02:15 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 02:15:31 +0000 (02:15 +0000)
openbox/client.c

index 37d27ab5187f5266c2d3535546a4738888e7c506..3548b7c8e4e6f42b2042a78fef821f474d29ec9a 100644 (file)
@@ -2377,7 +2377,8 @@ ObClient *client_search_focus_tree_full(ObClient *self)
 gboolean client_has_parent(ObClient *self)
 {
     return (self->transient_for &&
-            (self->transient_for != OB_TRAN_GROUP ||
+            ((self->transient_for != OB_TRAN_GROUP &&
+              client_normal(self->transient_for) ||
              (self->group && self->group->members->next)));
 }
 
This page took 0.025931 seconds and 4 git commands to generate.