diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-04 22:46:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-04 22:46:17 +0000 |
| commit | ae0d84721d58731feee4888b67e7a1e55cd318b2 (patch) | |
| tree | f1596fd6c2c1f2e48b88e2b9a34e6bce05fc9969 /plugins/mouse/mouse.c | |
| parent | 795d90c3bc57eaf2c98c447f3af5c1c9e7a52fa3 (diff) | |
add a leftHanded option for mouse bindings, reverses the left/right keywords
Diffstat (limited to 'plugins/mouse/mouse.c')
| -rw-r--r-- | plugins/mouse/mouse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index a2b3d7e0..1afc43e6 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -13,7 +13,7 @@ static int threshold; static int dclicktime; - +gboolean mouse_lefthand; /* <context name="Titlebar"> @@ -36,6 +36,8 @@ static void parse_xml(xmlDocPtr doc, xmlNodePtr node, void *d) threshold = parse_int(doc, n); if ((n = parse_find_node("doubleClickTime", node))) dclicktime = parse_int(doc, n); + if ((n = parse_find_node("leftHanded", node))) + mouse_lefthand = parse_bool(doc, n); n = parse_find_node("context", node); while (n) { @@ -99,6 +101,7 @@ void plugin_setup_config() { threshold = 3; dclicktime = 200; + mouse_lefthand = FALSE; parse_register("mouse", parse_xml, NULL); } |
