From 272293062fd32f1c87f5497c7b7dccedd8d724fb Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 3 Feb 2020 16:38:02 +0000 Subject: Map ('5') and allow mod5mask (altgr) as a modifier. From Artturi Alm (though changed from 'm' to '5') --- conf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 29b2053..c84be55 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.249 2019/03/07 12:54:21 okan Exp $ + * $OpenBSD: conf.c,v 1.250 2020/02/03 16:38:02 okan Exp $ */ #include @@ -197,10 +197,11 @@ static const struct { const char ch; int mask; } bind_mods[] = { + { 'S', ShiftMask }, { 'C', ControlMask }, { 'M', Mod1Mask }, { '4', Mod4Mask }, - { 'S', ShiftMask }, + { '5', Mod5Mask }, }; static const struct { const char *key; -- cgit v1.2.3-2-gb3c3