summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-24 12:47:19 +0000
committerDana Jansens <danakj@orodu.net>2007-05-24 12:47:19 +0000
commit10e08f6cd81ff55cb8b5e1f536c818fbc612414e (patch)
treef6ee297468c0ecc9fd010e0c58df505ef0165e7a
parentb52671486187871068457d28caf21ce6bea96ccc (diff)
use maximized state to try find fullscreen sized windows that shouldnt be considered fullscreen, instead of using the undecorated flag
-rw-r--r--openbox/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 2c504549..2a41ab8d 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -2368,10 +2368,10 @@ static ObStackingLayer calc_layer(ObClient *self)
}
else if ((self->fullscreen ||
/* No decorations and fills the monitor = oldskool fullscreen.
- But not for undecorated windows, because the user can do that
+ But not for maximized windows.
*/
(self->decorations == 0 &&
- !self->undecorated &&
+ !(self->max_horz && self->max_vert) &&
RECT_EQUAL(self->area,
*screen_physical_area_monitor
(client_monitor(self))))) &&