diff --git a/source/x11-helper.c b/source/x11-helper.c index 5accac79..c48ca37d 100644 --- a/source/x11-helper.c +++ b/source/x11-helper.c @@ -438,7 +438,7 @@ void x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key ) i--; } - xkb_keysym_t sym = xkb_keysym_from_name ( combo + i, XKB_KEYSYM_CASE_INSENSITIVE ); + xkb_keysym_t sym = xkb_keysym_from_name ( combo + i, XKB_KEYSYM_NO_FLAGS); if ( sym == XKB_KEY_NoSymbol || ( !modmask && ( strchr ( combo, '-' ) || strchr ( combo, '+' ) ) ) ) { g_string_append_printf ( str, "Sorry, rofi cannot understand the key combination: %s\n", combo ); diff --git a/test/run_test.sh b/test/run_test.sh index 800dcbc9..d6a6f824 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -6,7 +6,7 @@ function create_fake_x ( ) { export DISPLAY=":$1" echo "Starting fake X: ${DISPLAY}" - Xvfb ${DISPLAY} & + Xvfb -screen 0 1280x1024x24 ${DISPLAY} & XPID=$! sleep 1; timeout -k 30s 30s fluxbox &