diff --git a/client/X11/xf_keyboard.c b/client/X11/xf_keyboard.c index a85186f8a..1d6d9c06d 100644 --- a/client/X11/xf_keyboard.c +++ b/client/X11/xf_keyboard.c @@ -381,6 +381,10 @@ int xf_keyboard_execute_action_script(xfContext* xfc, XF_MODIFIER_KEYS* mod, Key } keyStr = XKeysymToString(keysym); + if (keyStr == 0) + { + return 1; + } if (mod->Shift) strcat(combination, "Shift+");