mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Keyboard shortcut to raise the dock
This patch adds the DockRaiseLowerKey shortcut, which raises/lowers the dock depending on whether the dock is lowered/raised. [crmafra: Reformatted Brad's patch against git repo and removed the DockRaiseKey and DockLowerKey shortcuts ]
This commit is contained in:
committed by
Carlos R. Mafra
parent
7ef8178d2a
commit
b6689a0108
@@ -1690,6 +1690,10 @@ static void handleKeyPress(XEvent * event)
|
||||
if (!wPreferences.flags.noclip)
|
||||
wDockRaiseLower(scr->workspaces[scr->current_workspace]->clip);
|
||||
break;
|
||||
case WKBD_DOCKRAISELOWER:
|
||||
if (!wPreferences.flags.nodock)
|
||||
wDockRaiseLower(scr->dock);
|
||||
break;
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
case WKBD_TOGGLE:
|
||||
if (wPreferences.modelock) {
|
||||
|
||||
Reference in New Issue
Block a user