[PATCH] wmaker: add new ModifierKeyShortLabels option
1 view
Skip to first unread message
david.m...@gmail.com
unread,
Feb 24, 2026, 10:13:21 PMFeb 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Development
This patch is adding a new ModifierKeyShortLabels option to the WindowMaker file to let the user specify the modifier key labels used in the shortcuts like those appearing in the root menu. For example, to overwrite the default labels, a user can set the new option value to:
Which is using the same symbols as defined in macos. For example, instead of printing M4+, "\342\214\230" will print the ⌘ (Command) symbol. --- src/WindowMaker.h | 1 + src/defaults.c | 39 +++++++++++++++++++++++++++++++++++++++ src/xmodifier.c | 42 ++++++++++++++++++++++++------------------ 3 files changed, 64 insertions(+), 18 deletions(-)
diff --git a/src/WindowMaker.h b/src/WindowMaker.h index 75464fdf..dea943b9 100644 --- a/src/WindowMaker.h +++ b/src/WindowMaker.h @@ -393,6 +393,7 @@ extern struct WPreferences { signed char workspace_name_display_position; unsigned int modifier_mask; /* mask to use as kbd modifier */ char *modifier_labels[7]; /* Names of the modifiers */ +char *modifier_short_labels[9]; /* Short names of the modifiers */