mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-16 03:34:13 +01:00
This patch is improving the key shortcut labelling in the root menu. It modifies the GetShortcutString function to save some cycles as wXModifierFromKey is already doing all the string comparisons. This patch introduces a new function called wXModifierToShortcutLabel that is checking the return value from wXModifierFromKey. Not sure why Control was set as a special key, as keyboards could have 2 controls but also 2 shift keys. Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
1.0 KiB
1.0 KiB