add DOCK_NORMAL stacking layer

This commit is contained in:
Dana Jansens 2003-10-15 16:17:33 +00:00
parent 5749f109f9
commit 4cd6194f75
2 changed files with 10 additions and 9 deletions

View file

@ -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;
}

View file

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