summaryrefslogtreecommitdiff
path: root/plugins/mouse/translate.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-04 22:48:38 +0000
committerDana Jansens <danakj@orodu.net>2003-06-04 22:48:38 +0000
commita865fe603fb9843b2f7d7c4db259fd97dc3915b5 (patch)
tree1adefe47e0d1477ddddcc858a4392c3cf7736b21 /plugins/mouse/translate.c
parentae0d84721d58731feee4888b67e7a1e55cd318b2 (diff)
remove that fancy new leftHanded option, it should be done via xmodmap instead
Diffstat (limited to 'plugins/mouse/translate.c')
-rw-r--r--plugins/mouse/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mouse/translate.c b/plugins/mouse/translate.c
index d849ed44..b774f785 100644
--- a/plugins/mouse/translate.c
+++ b/plugins/mouse/translate.c
@@ -46,9 +46,9 @@ gboolean translate_button(char *str, guint *state, guint *button)
}
/* figure out the button */
- if (!g_ascii_strcasecmp("Left", l)) *button = mouse_lefthand ? 3 : 1;
+ if (!g_ascii_strcasecmp("Left", l)) *button = 1;
else if (!g_ascii_strcasecmp("Middle", l)) *button = 2;
- else if (!g_ascii_strcasecmp("Right", l)) *button = mouse_lefthand ? 1 : 3;
+ else if (!g_ascii_strcasecmp("Right", l)) *button = 3;
else if (!g_ascii_strcasecmp("Up", l)) *button = 4;
else if (!g_ascii_strcasecmp("Down", l)) *button = 5;
else if (!g_ascii_strncasecmp("Button", l, 6)) *button = atoi(l+6);