From a744deeee34dc46bbaea98f574426d7aeddbe549 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 25 Apr 2007 15:44:49 +0000 Subject: [PATCH] consistency for dock layer naming --- data/rc.xml.in | 2 +- openbox/config.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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))) { -- 2.45.2