diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-05-04 14:30:58 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-05-04 14:30:58 +0000 |
| commit | d0bbfb66d37f3027c61af5ca50ae1bedadec950b (patch) | |
| tree | 7d82a640c9533cddf75a3604a0d1885d1f88111a | |
| parent | b5161f803267be7778dd893de55d2f71c808d719 (diff) | |
ignore maximized windows in smart placement
| -rw-r--r-- | openbox/place.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
