summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-12 18:08:34 +0000
committerDana Jansens <danakj@orodu.net>2003-08-12 18:08:34 +0000
commit555e3384ff652ece08b45c6a050688cd5a3231fe (patch)
treecd9bf45aae2a737400cd898fe990277bbd5e0093
parentfdc52e879f11166186014ebb2bac7121edf08e79 (diff)
oops read the mouse cnofig vars into the right place
-rw-r--r--openbox/config.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/config.c b/openbox/config.c
index 19b66403..b7241f59 100644
--- a/openbox/config.c
+++ b/openbox/config.c
@@ -99,8 +99,6 @@ static void parse_keyboard(xmlDocPtr doc, xmlNodePtr node, void *d)
parse_key(doc, node->xmlChildrenNode, NULL);
}
-static int threshold;
-static int dclicktime;
/*
<context name="Titlebar">
@@ -122,9 +120,9 @@ static void parse_mouse(xmlDocPtr doc, xmlNodePtr node, void *d)
node = node->xmlChildrenNode;
if ((n = parse_find_node("dragThreshold", node)))
- threshold = parse_int(doc, n);
+ config_mouse_threshold = parse_int(doc, n);
if ((n = parse_find_node("doubleClickTime", node)))
- dclicktime = parse_int(doc, n);
+ config_mouse_dclicktime = parse_int(doc, n);
n = parse_find_node("context", node);
while (n) {