fullscreen only if no decorations

This commit is contained in:
Dana Jansens 2007-05-16 17:01:47 +00:00
parent fbae01436c
commit b69bf80982

View file

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