diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2004-03-21 12:20:52 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2004-03-21 12:20:52 +0000 |
| commit | 39748e41800b03732b0745f6fcd76b61dd93769f (patch) | |
| tree | bcff11b00a970250aaa30a268e85d1b98b5916a5 | |
| parent | e9cdaf2749996c38b96ac49cc168d6620aee0baf (diff) | |
take numbers as args for the popup options too
| -rw-r--r-- | openbox/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/config.c b/openbox/config.c index 3a2affc7..4b58fbd9 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -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)) |
