1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-08 23:04:15 +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:
Brad Jorsch
2010-01-06 12:50:36 -05:00
committed by Carlos R. Mafra
parent 7ef8178d2a
commit b6689a0108
5 changed files with 12 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ static char *keyOptions[] = {
"VirtualEdgeUpKey",
"VirtualEdgeDownKey",
#endif
"DockRaiseLowerKey",
"ClipRaiseKey",
"ClipLowerKey",
#ifndef XKB_MODELOCK
@@ -522,6 +523,7 @@ static void createPanel(Panel * p)
WMAddListItem(panel->actLs, _("Move VirtualDesktop to next top edge"));
WMAddListItem(panel->actLs, _("Move VirtualDesktop to next bottom edge"));
#endif
WMAddListItem(panel->actLs, _("Raise/Lower Dock"));
WMAddListItem(panel->actLs, _("Raise Clip"));
WMAddListItem(panel->actLs, _("Lower Clip"));
WMAddListItem(panel->actLs, _("Raise/Lower Clip"));