]> Dogcows Code - chaz/openbox/commitdiff
get rid of the fullscreen below layer. its the same as maximized windows..
authorDana Jansens <danakj@orodu.net>
Mon, 14 May 2007 23:00:36 +0000 (23:00 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 14 May 2007 23:00:36 +0000 (23:00 +0000)
openbox/client.c
openbox/stacking.h

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;
index ea1ea8c9d43254ddb7ac2241a7fe334ec70de61c..d93341c8aaecf7477cc31596784d1a61b9211375 100644 (file)
 typedef enum {
     OB_STACKING_LAYER_INVALID,
     OB_STACKING_LAYER_DESKTOP,          /*!< 0 - desktop windows */
-    OB_STACKING_LAYER_FULLSCREEN_BELOW, /*!< 1 - unfocused fullscreens */
-    OB_STACKING_LAYER_BELOW,            /*!< 2 - normal windows w/ below */
-    OB_STACKING_LAYER_NORMAL,           /*!< 3 - normal windows */
-    OB_STACKING_LAYER_ABOVE,            /*!< 4 - normal windows w/ above */
-    OB_STACKING_LAYER_FULLSCREEN,       /*!< 5 - fullscreeen windows */
-    OB_STACKING_LAYER_INTERNAL,         /*!< 6 - openbox windows/menus */
+    OB_STACKING_LAYER_BELOW,            /*!< 1 - normal windows w/ below */
+    OB_STACKING_LAYER_NORMAL,           /*!< 2 - normal windows */
+    OB_STACKING_LAYER_ABOVE,            /*!< 3 - normal windows w/ above */
+    OB_STACKING_LAYER_FULLSCREEN,       /*!< 4 - fullscreeen windows */
+    OB_STACKING_LAYER_INTERNAL,         /*!< 5 - openbox windows/menus */
     OB_NUM_STACKING_LAYERS
 } ObStackingLayer;
 
This page took 0.034404 seconds and 4 git commands to generate.