mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 20:04:11 +08:00
xfreerdp: treat Super key differently
This commit is contained in:
parent
25a7225a22
commit
84cef49678
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user