-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: hackvr
action: commit
revision:
path_from:
revision_from: 7a0b3ef8afab3d4f6721879544021b2bc70df55e:
path_to:
revision_to:

git.thebackupbox.net

hackvr

git://git.thebackupbox.net/hackvr

commit 7a0b3ef8afab3d4f6721879544021b2bc70df55e
Author: epoch <epoch@hacking.allowed.org>
Date:   Sun Oct 11 01:44:07 2020 -0500

    put mouse buttons back to "normal" left-primary and right-secondary

diff --git a/src/mouse_die.c b/src/mouse_die.c

index 2258a0808afe1d31b5420a51342a42c2805d53e7..

index ..f24fbe12f10b1ddcec1e83fdec581ffce0bc9f3e 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;
   }

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 15:21:10 2024