diff --git a/src/defaults.c b/src/defaults.c index 5e305c90..332c0eb3 100644 --- a/src/defaults.c +++ b/src/defaults.c @@ -567,7 +567,7 @@ WDefaultEntry optionList[] = { NULL, getColor, setIconTitleBack, NULL, NULL}, {"SwitchPanelImages", "(swtile.png, swback.png, 30, 40)", &wPreferences, NULL, getPropList, setSwPOptions, NULL, NULL}, - {"ModifierKeyLabels", "(\"Shift+\", \"Ctrl+\", \"Mod1+\", \"Mod2+\", \"Mod3+\", \"Mod4+\", \"Mod5+\")", &wPreferences, + {"ModifierKeyLabels", "(\"Shift+\", \"Control+\", \"Mod1+\", \"Mod2+\", \"Mod3+\", \"Mod4+\", \"Mod5+\")", &wPreferences, NULL, getPropList, setModifierKeyLabels, NULL, NULL}, {"FrameBorderWidth", "1", NULL, NULL, getInt, setFrameBorderWidth, NULL, NULL}, diff --git a/src/misc.c b/src/misc.c index 572fbe42..3d78c930 100644 --- a/src/misc.c +++ b/src/misc.c @@ -732,7 +732,6 @@ char *GetShortcutString(const char *shortcut) { char *buffer = NULL; char *k; - /* KeySym ksym; */ int control = 0; char *tmp, *text; @@ -788,7 +787,7 @@ char *GetShortcutKey(WShortKey key) if (!k) return NULL; char **m = wPreferences.modifier_labels; - if (key.modifier & ControlMask) tmp = wstrappend(tmp, m[1] ? m[1] : "Ctrl+"); + if (key.modifier & ControlMask) tmp = wstrappend(tmp, m[1] ? m[1] : "Control+"); if (key.modifier & ShiftMask) tmp = wstrappend(tmp, m[0] ? m[0] : "Shift+"); if (key.modifier & Mod1Mask) tmp = wstrappend(tmp, m[2] ? m[2] : "Mod1+"); if (key.modifier & Mod2Mask) tmp = wstrappend(tmp, m[3] ? m[3] : "Mod2+");