]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
get rid of the fullscreen below layer. its the same as maximized windows..
[chaz/openbox] / openbox / client.c
index e7711692995df6d25dc27c00b938bcc041c62824..e51ad65eba00d29cb0c8df196979dabaa4de5122 100644 (file)
@@ -2343,12 +2343,9 @@ static ObStackingLayer calc_layer(ObClient *self)
                 self->frame->size.bottom == 0 && self->frame->size.top == 0 &&
                 RECT_EQUAL(self->area,
                            *screen_physical_area_monitor
-                           (client_monitor(self))))))) {
-        if (client_focused(self) || client_search_focus_tree(self))
-            l = OB_STACKING_LAYER_FULLSCREEN;
-        else
-            l = OB_STACKING_LAYER_FULLSCREEN_BELOW;
-    }
+                           (client_monitor(self)))))) &&
+             (client_focused(self) || client_search_focus_tree(self)))
+        l = OB_STACKING_LAYER_FULLSCREEN;
     else if (self->above) l = OB_STACKING_LAYER_ABOVE;
     else if (self->below) l = OB_STACKING_LAYER_BELOW;
     else l = OB_STACKING_LAYER_NORMAL;
This page took 0.022037 seconds and 4 git commands to generate.