From c9b79a47d169f3358cfd9e644d38cd86658fb3de Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 20 May 2004 06:13:52 +0000 Subject: * src/input.c (rp_mask_to_x11_mask): handle the shift modifier (x11_mask_to_rp_mask): likewise (keysym_to_keycode_mod): Make sure lower != keysym before adding the shift mask. (keysym_to_string): handle the shift modifier. use 's' for super instead of 'S' (cook_keycode): keep the shift modifier if XLookupString didn't gobble it. * src/data.h (RP_SHIFT_MASK): new define * src/actions.c (parse_keydesc): parse the shift modifier change super to 's' from 'S'. --- src/actions.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/actions.c') diff --git a/src/actions.c b/src/actions.c index 8a004d9..5321ed3 100644 --- a/src/actions.c +++ b/src/actions.c @@ -619,6 +619,10 @@ parse_keydesc (char *s) p->state |= RP_ALT_MASK; } else if (!strcmp (token, "S")) + { + p->state |= RP_SHIFT_MASK; + } + else if (!strcmp (token, "s")) { p->state |= RP_SUPER_MASK; } -- cgit v1.2.3