shithub: drawterm-fdroid

Download patch

ref: 5eaaeb08c5ea01c7c0d0473c2b95462536e6bc25
parent: c824c4972fe1a772e239406e148a5327e872bf54
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Nov 9 18:18:58 EST 2021

x11: enabled Kmod4

--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -870,6 +870,10 @@
 		case XK_Alt_R:
 			k = Kalt;
 			break;
+		case XK_Super_L:
+		case XK_Super_R:
+			k = Kmod4;
+			break;
 
 		case XK_Shift_L:
 		case XK_Shift_R:
@@ -904,8 +908,6 @@
 
 		case XK_Meta_L:
 		case XK_Meta_R:
-		case XK_Super_L:
-		case XK_Super_R:
 		case XK_Hyper_L:
 		case XK_Hyper_R:
 			return;
--- a/include/keyboard.h
+++ b/include/keyboard.h
@@ -58,5 +58,6 @@
 	Knum=	Spec|0x65,
 	Kmiddle=	Spec|0x66,
 	Kaltgr=	Spec|0x67,
+	Kmod4=	Spec|0x68,
 	Kmouse=	Spec|0x100,
 };