]> Dogcows Code - chaz/openbox/commitdiff
put dock in the dock_above/below layer
authorDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 16:33:30 +0000 (16:33 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 16:33:30 +0000 (16:33 +0000)
openbox/config.c

index 0d81d3f5a667e5bf90699596d0066f8bd695b32f..b6e7770f61a7d70a46a957dff1c4ae6a5064cc79 100644 (file)
@@ -322,11 +322,11 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d)
     }
     if ((n = parse_find_node("stacking", node))) {
         if (parse_contains("top", doc, n))
-            config_dock_layer = OB_STACKING_LAYER_TOP;
+            config_dock_layer = OB_STACKING_LAYER_DOCK_ABOVE;
         else if (parse_contains("normal", doc, n))
             config_dock_layer = OB_STACKING_LAYER_NORMAL;
         else if (parse_contains("bottom", doc, n))
-            config_dock_layer = OB_STACKING_LAYER_BELOW;
+            config_dock_layer = OB_STACKING_LAYER_DOCK_BELOW;
     }
     if ((n = parse_find_node("direction", node))) {
         if (parse_contains("horizontal", doc, n))
@@ -508,7 +508,7 @@ void config_startup(ObParseInst *i)
 
     parse_register(i, "resize", parse_resize, NULL);
 
-    config_dock_layer = OB_STACKING_LAYER_TOP;
+    config_dock_layer = OB_STACKING_LAYER_DOCK_ABOVE;
     config_dock_pos = OB_DIRECTION_NORTHEAST;
     config_dock_floating = FALSE;
     config_dock_x = 0;
This page took 0.031333 seconds and 4 git commands to generate.