diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-07-23 01:45:44 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-07-23 01:45:44 +0000 |
| commit | 0e69ae2b96fb4dd7435ebe15645d1384d11a3ef7 (patch) | |
| tree | fb68e08bfab17debce6c71a57df541197e296a82 /plugins/mouse/mouse.c | |
| parent | 845833226b7d65019d41eb3afce6fad7ae3d30a2 (diff) | |
* Change xml parsing to pass the parent node, rather than the first
child.
* Add x,y co-ordinates on showmenu action so we can place menus on keypress.
Diffstat (limited to 'plugins/mouse/mouse.c')
| -rw-r--r-- | plugins/mouse/mouse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index 91ff7c4b..6ac7bab0 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -31,6 +31,8 @@ static void parse_xml(xmlDocPtr doc, xmlNodePtr node, void *d) MouseAction mact; Action *action; + node = node->xmlChildrenNode; + if ((n = parse_find_node("dragThreshold", node))) threshold = parse_int(doc, n); if ((n = parse_find_node("doubleClickTime", node))) |
