mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 00:12:31 +01:00
Remove [raise,lower]clip shortcut keys
The raising and lowering of the clip is already taken care of by the "ClipRaiseLowerKey" shortcut. wmaker gets a bit smaller for free: text data bss dec hex filename 449483 17384 8208 475075 73fc3 src/.libs/wmaker.old 449307 17256 8192 474755 73e83 src/.libs/wmaker.new
This commit is contained in:
@@ -561,10 +561,6 @@ WDefaultEntry optionList[] = {
|
||||
NULL, getKeybind, setKeyGrab},
|
||||
{"DockRaiseLowerKey", "None", (void*)WKBD_DOCKRAISELOWER,
|
||||
NULL, getKeybind, setKeyGrab},
|
||||
{"ClipLowerKey", "None", (void *)WKBD_CLIPLOWER,
|
||||
NULL, getKeybind, setKeyGrab},
|
||||
{"ClipRaiseKey", "None", (void *)WKBD_CLIPRAISE,
|
||||
NULL, getKeybind, setKeyGrab},
|
||||
{"ClipRaiseLowerKey", "None", (void *)WKBD_CLIPRAISELOWER,
|
||||
NULL, getKeybind, setKeyGrab},
|
||||
{"MiniaturizeKey", "None", (void *)WKBD_MINIATURIZE,
|
||||
|
||||
@@ -1678,14 +1678,6 @@ static void handleKeyPress(XEvent * event)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case WKBD_CLIPLOWER:
|
||||
if (!wPreferences.flags.noclip)
|
||||
wDockLower(scr->workspaces[scr->current_workspace]->clip);
|
||||
break;
|
||||
case WKBD_CLIPRAISE:
|
||||
if (!wPreferences.flags.noclip)
|
||||
wDockRaise(scr->workspaces[scr->current_workspace]->clip);
|
||||
break;
|
||||
case WKBD_CLIPRAISELOWER:
|
||||
if (!wPreferences.flags.noclip)
|
||||
wDockRaiseLower(scr->workspaces[scr->current_workspace]->clip);
|
||||
|
||||
@@ -54,8 +54,6 @@ enum {
|
||||
WKBD_DOCKRAISELOWER,
|
||||
|
||||
/* Clip */
|
||||
WKBD_CLIPLOWER,
|
||||
WKBD_CLIPRAISE,
|
||||
WKBD_CLIPRAISELOWER,
|
||||
|
||||
/* workspace */
|
||||
|
||||
Reference in New Issue
Block a user