ignore maximized windows in smart placement
This commit is contained in:
parent
b5161f8032
commit
d0bbfb66d3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue