ignore maximized windows in smart placement

This commit is contained in:
Mikael Magnusson 2007-05-04 14:30:58 +00:00
parent b5161f8032
commit d0bbfb66d3

View file

@ -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;