From 0e69ae2b96fb4dd7435ebe15645d1384d11a3ef7 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Wed, 23 Jul 2003 01:45:44 +0000 Subject: * 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. --- plugins/mouse/mouse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/mouse/mouse.c') 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))) -- cgit v1.2.3