From: Dana Jansens Date: Thu, 9 Oct 2003 16:33:30 +0000 (+0000) Subject: put dock in the dock_above/below layer X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=00f6bbb1ab28cf7503ab089e73361218bf836304;p=chaz%2Fopenbox put dock in the dock_above/below layer --- diff --git a/openbox/config.c b/openbox/config.c index 0d81d3f5..b6e7770f 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -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;