]> Dogcows Code - chaz/openbox/commitdiff
take numbers as args for the popup options too
authorMikael Magnusson <mikachu@comhem.se>
Sun, 21 Mar 2004 12:20:52 +0000 (12:20 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 21 Mar 2004 12:20:52 +0000 (12:20 +0000)
openbox/config.c

index 3a2affc704f1e8a140977f5d26edf7ee9e2a6c9c..4b58fbd969d29ea46c279daf8418337b5a92199d 100644 (file)
@@ -296,6 +296,7 @@ static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
     if ((n = parse_find_node("drawContents", node)))
         config_resize_redraw = parse_bool(doc, n);
     if ((n = parse_find_node("popupShow", node))) {
+        config_resize_popup_show = parse_int(doc, n);
         if (parse_contains("Always", doc, n))
             config_resize_popup_show = 2;
         else if (parse_contains("Never", doc, n))
@@ -304,6 +305,7 @@ static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
             config_resize_popup_show = 1;
     }
     if ((n = parse_find_node("popupPosition", node))) {
+        config_resize_popup_pos = parse_int(doc, n);
         if (parse_contains("Top", doc, n))
             config_resize_popup_pos = 1;
         else if (parse_contains("Center", doc, n))
This page took 0.024576 seconds and 4 git commands to generate.