From: Mikael Magnusson Date: Wed, 25 Apr 2007 15:44:49 +0000 (+0000) Subject: consistency for dock layer naming X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a744deeee34dc46bbaea98f574426d7aeddbe549;p=chaz%2Fopenbox consistency for dock layer naming --- diff --git a/data/rc.xml.in b/data/rc.xml.in index a113fbc5..6233c2e2 100644 --- a/data/rc.xml.in +++ b/data/rc.xml.in @@ -94,7 +94,7 @@ 0 0 no - Top + Above Vertical no diff --git a/openbox/config.c b/openbox/config.c index 948b9107..fda9d9f0 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -598,11 +598,11 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, config_dock_nostrut = parse_bool(doc, n); } if ((n = parse_find_node("stacking", node))) { - if (parse_contains("top", doc, n)) + if (parse_contains("above", doc, n)) config_dock_layer = OB_STACKING_LAYER_ABOVE; else if (parse_contains("normal", doc, n)) config_dock_layer = OB_STACKING_LAYER_NORMAL; - else if (parse_contains("bottom", doc, n)) + else if (parse_contains("below", doc, n)) config_dock_layer = OB_STACKING_LAYER_BELOW; } if ((n = parse_find_node("direction", node))) {