add DOCK_NORMAL stacking layer
Dana Jansens danakj@orodu.net
2 files changed,
10 insertions(+),
9 deletions(-)
M
openbox/config.c
→
openbox/config.c
@@ -324,7 +324,7 @@ if ((n = parse_find_node("stacking", node))) {
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; }
M
openbox/stacking.h
→
openbox/stacking.h
@@ -26,14 +26,15 @@ #include <X11/Xlib.h>
/*! 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;