]> Dogcows Code - chaz/openbox/commitdiff
oops read the mouse cnofig vars into the right place
authorDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 18:08:34 +0000 (18:08 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 18:08:34 +0000 (18:08 +0000)
openbox/config.c

index 19b664032426135cddd4e6e54f73b65854c8966d..b7241f5905c4787dde988d734456a0afc773e6e6 100644 (file)
@@ -99,8 +99,6 @@ static void parse_keyboard(xmlDocPtr doc, xmlNodePtr node, void *d)
     parse_key(doc, node->xmlChildrenNode, NULL);
 }
 
     parse_key(doc, node->xmlChildrenNode, NULL);
 }
 
-static int threshold;
-static int dclicktime;
 /*
 
 <context name="Titlebar"> 
 /*
 
 <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)))
     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)))
     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) {
 
     n = parse_find_node("context", node);
     while (n) {
This page took 0.025674 seconds and 4 git commands to generate.