From: Dana Jansens Date: Mon, 13 Oct 2003 04:55:00 +0000 (+0000) Subject: ignore fullscreen windows in placing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1d2aa812c6112e33b0250aa0d791745f69156c40;p=chaz%2Fopenbox ignore fullscreen windows in placing --- 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)) {