shithub: drawterm-fdroid

Download patch

ref: 774d1d233e7803e769add45a4df1ae4b86f41b10
parent: 911a007cb62b74f4e3a30429a7fabc11d2075bb5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jul 7 17:03:16 EDT 2018

gui-win32: remove shift mouse button swap code

--- a/gui-win32/screen.c
+++ b/gui-win32/screen.c
@@ -392,12 +392,8 @@
 			b |= 1;
 		if(wparam & MK_MBUTTON)
 			b |= 2;
-		if(wparam & MK_RBUTTON) {
-			if(wparam & MK_SHIFT)
-				b |= 2;
-			else
-				b |= 4;
-		}
+		if(wparam & MK_RBUTTON)
+			b |= 4;
 		absmousetrack(x, y, b, ticks());
 		break;