summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/config.c2
-rw-r--r--openbox/stacking.h17
2 files changed, 10 insertions, 9 deletions
diff --git a/openbox/config.c b/openbox/config.c
index 507d697f..9279266e 100644
--- a/openbox/config.c
+++ b/openbox/config.c
@@ -324,7 +324,7 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d)
if (parse_contains("top", doc, n))
config_dock_layer = OB_STACKING_LAYER_DOCK_ABOVE;
else if (parse_contains("normal", doc, n))
- config_dock_layer = OB_STACKING_LAYER_NORMAL;
+ config_dock_layer = OB_STACKING_LAYER_DOCK_NORMAL;
else if (parse_contains("bottom", doc, n))
config_dock_layer = OB_STACKING_LAYER_DOCK_BELOW;
}
diff --git a/openbox/stacking.h b/openbox/stacking.h
index e3689b08..2b18f820 100644
--- a/openbox/stacking.h
+++ b/openbox/stacking.h
@@ -26,14 +26,15 @@
/*! The possible stacking layers a client window can be a part of */
typedef enum {
- OB_STACKING_LAYER_DESKTOP, /*!< 0 - desktop windows */
- OB_STACKING_LAYER_DOCK_BELOW, /*!< 1 - dock windows set to below */
- 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_DOCK_ABOVE, /*!< 5 - dock windows set to on top */
- OB_STACKING_LAYER_FULLSCREEN, /*!< 6 - fullscreeen windows */
- OB_STACKING_LAYER_INTERNAL, /*!< 7 - openbox windows/menus */
+ OB_STACKING_LAYER_DESKTOP, /*!< 0 - desktop windows */
+ OB_STACKING_LAYER_DOCK_BELOW, /*!< 1 - dock windows set to below */
+ 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_DOCK_NORMAL, /*!< 5 - dock windows set to on top */
+ OB_STACKING_LAYER_DOCK_ABOVE, /*!< 6 - dock windows set to on top */
+ OB_STACKING_LAYER_FULLSCREEN, /*!< 7 - fullscreeen windows */
+ OB_STACKING_LAYER_INTERNAL, /*!< 8 - openbox windows/menus */
OB_NUM_STACKING_LAYERS
} ObStackingLayer;