summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-16 17:01:47 +0000
committerDana Jansens <danakj@orodu.net>2007-05-16 17:01:47 +0000
commitb69bf80982619226cdaec6e1a16b45db6b1eca81 (patch)
tree94855e3f097fb7f1f6f1d790d4716627f85b5ff8
parentfbae01436c9fd77e628384072eae1ba649d07f00 (diff)
fullscreen only if no decorations
-rw-r--r--openbox/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c
index dba7706b..9bf378e1 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -2339,6 +2339,7 @@ static ObStackingLayer calc_layer(ObClient *self)
else if ((self->fullscreen ||
/* no decorations and fills the monitor = oldskool fullscreen */
(self->frame != NULL &&
+ self->decorations == 0 &&
(self->frame->size.right == 0 && self->frame->size.left == 0 &&
self->frame->size.bottom == 0 && self->frame->size.top == 0 &&
RECT_EQUAL(self->area,