]> git.mdlowis.com Git - projs/tide.git/commitdiff
Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before...
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 30 Jan 2017 20:52:44 +0000 (15:52 -0500)
inc/x11.h

index 7563f541e66c536b81deccfe436562b2b45307ed..1abd4fb327838e0140eb8fcb15add5e1a48c5270 100644 (file)
--- a/inc/x11.h
+++ b/inc/x11.h
@@ -118,7 +118,7 @@ enum {
     ModNumLock    = (1 << 4),
     ModScrollLock = (1 << 5),
     ModWindows    = (1 << 6),
-    ModAny        = ModWindows-1
+    ModAny        = (ModShift|ModCtrl|ModAlt)
 };
 
 void x11_init(XConfig* cfg);