1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Take SardemFF7 advice on aliasing Ctrl+s and Ctrl+S, shift needs to mentioned explicit

This commit is contained in:
Dave Davenport 2016-02-28 16:57:16 +01:00
parent 21bce63e79
commit 28ed4eab7b

View file

@ -453,7 +453,7 @@ void x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key )
} }
} }
if ( sym == XKB_KEY_NoSymbol ) { if ( sym == XKB_KEY_NoSymbol ) {
sym = xkb_keysym_from_name ( combo + i, XKB_KEYSYM_NO_FLAGS ); sym = xkb_keysym_from_name ( combo + i, XKB_KEYSYM_CASE_INSENSITIVE );
} }
if ( sym == XKB_KEY_NoSymbol || ( !modmask && ( strchr ( combo, '-' ) || strchr ( combo, '+' ) ) ) ) { if ( sym == XKB_KEY_NoSymbol || ( !modmask && ( strchr ( combo, '-' ) || strchr ( combo, '+' ) ) ) ) {