From: Michael D. Lowis Date: Mon, 30 Jan 2017 17:47:40 +0000 (-0500) Subject: Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before... X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=8ccd3513f0db7841a1d81575526cb12d42ac8ca4;p=projs%2Ftide.git Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before looking for shortcut entries --- diff --git a/inc/x11.h b/inc/x11.h index 7563f54..1abd4fb 100644 --- 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);