From 1d2aa812c6112e33b0250aa0d791745f69156c40 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Oct 2003 04:55:00 +0000 Subject: [PATCH] ignore fullscreen windows in placing --- openbox/place.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/openbox/place.c b/openbox/place.c index 70c3cdd3..e5633747 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -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)) { -- 2.45.2