From: Mikael Magnusson Date: Fri, 4 May 2007 14:30:58 +0000 (+0000) Subject: ignore maximized windows in smart placement X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d0bbfb66d37f3027c61af5ca50ae1bedadec950b;p=chaz%2Fopenbox ignore maximized windows in smart placement --- diff --git a/openbox/place.c b/openbox/place.c index 1ac295c0..8003270e 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -282,7 +282,7 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y, if (WINDOW_IS_CLIENT(it->data)) { c = it->data; - if (c->fullscreen) + if (c->fullscreen || (c->max_vert && c->max_horz)) continue; } else continue; @@ -306,7 +306,7 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y, if (WINDOW_IS_CLIENT(it->data)) { c = it->data; - if (c->fullscreen) + if (c->fullscreen || (c->max_vert && c->max_horz)) continue; } else continue;