]> Dogcows Code - chaz/openbox/commitdiff
use maximized state to try find fullscreen sized windows that shouldnt be considered...
authorDana Jansens <danakj@orodu.net>
Thu, 24 May 2007 12:47:19 +0000 (12:47 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 24 May 2007 12:47:19 +0000 (12:47 +0000)
openbox/client.c

index 2c5045498df7ae4ad2ccdc2c013346358e6bec7c..2a41ab8da41be0d15fa1743bc8e789a54c5b7239 100644 (file)
@@ -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))))) &&
This page took 0.029026 seconds and 4 git commands to generate.