From 7a0b3ef8afab3d4f6721879544021b2bc70df55e Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 11 Oct 2020 01:44:07 -0500 Subject: put mouse buttons back to "normal" left-primary and right-secondary --- src/mouse_die.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mouse_die.c b/src/mouse_die.c index 2258a08..f24fbe1 100644 --- a/src/mouse_die.c +++ b/src/mouse_die.c @@ -40,8 +40,8 @@ int mouse_init() { //it doesn't care if you have X11 buttons swapped around ofc. char die2map(char d) {//edit this function if you want to change your primary and secondary mouse button. switch(d) { - case DIE_MOUSE_RIGHT: return MOUSE_PRIMARY; - case DIE_MOUSE_LEFT: return MOUSE_SECONDARY; + case DIE_MOUSE_LEFT: return MOUSE_PRIMARY; + case DIE_MOUSE_RIGHT: return MOUSE_SECONDARY; case DIE_MOUSE_CENTER: return MOUSE_TERTIARY; default: return -1; } -- cgit v1.2.3