xfreerdp: treat Super key differently

This commit is contained in:
Marc-André Moreau 2014-03-25 12:27:06 -04:00
parent 25a7225a22
commit 84cef49678

View File

@ -318,8 +318,7 @@ int xf_keyboard_execute_action_script(xfContext* xfc, XF_MODIFIER_KEYS* mod, Key
if ((keysym == XK_Shift_L) || (keysym == XK_Shift_R) ||
(keysym == XK_Alt_L) || (keysym == XK_Alt_R) ||
(keysym == XK_Control_L) || (keysym == XK_Control_R) ||
(keysym == XK_Super_L) || (keysym == XK_Super_R))
(keysym == XK_Control_L) || (keysym == XK_Control_R))
{
return 1;
}
@ -335,9 +334,6 @@ int xf_keyboard_execute_action_script(xfContext* xfc, XF_MODIFIER_KEYS* mod, Key
if (mod->Alt)
strcat(combination, "Alt+");
if (mod->Super)
strcat(combination, "Super+");
strcat(combination, keyStr);
count = ArrayList_Count(xfc->keyCombinations);