]> Dogcows Code - chaz/openbox/commitdiff
ignore fullscreen windows in placing
authorDana Jansens <danakj@orodu.net>
Mon, 13 Oct 2003 04:55:00 +0000 (04:55 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 13 Oct 2003 04:55:00 +0000 (04:55 +0000)
openbox/place.c

index 70c3cdd3336b21d5ebd5f706d5c0dfd5e8859373..e5633747d2221517985d1e383aa8fdb0d91cbfff 100644 (file)
@@ -214,9 +214,11 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y,
     for (it = stacking_list; it; it = g_list_next(it)) {
         ObClient *c;
 
-        if (WINDOW_IS_CLIENT(it->data))
+        if (WINDOW_IS_CLIENT(it->data)) {
             c = it->data;
-        else
+            if (c->fullscreen)
+                continue;
+        } else
             continue;
 
         if (c->layer > client->layer) {
@@ -239,9 +241,11 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y,
             for (; it && !stop; it = g_list_next(it)) {
                 ObClient *c;
 
-                if (WINDOW_IS_CLIENT(it->data))
+                if (WINDOW_IS_CLIENT(it->data)) {
                     c = it->data;
-                else
+                    if (c->fullscreen)
+                        continue;
+                } else
                     continue;
 
                 if (!SMART_IGNORE(client, c)) {
This page took 0.027719 seconds and 4 git commands to generate.