diff options
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c index 22517151..81a9ef3e 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -677,6 +677,11 @@ ActionString actionstrings[] = setup_action_resize }, { + "toggledockautohide", + action_toggle_dockautohide, + NULL + }, + { "toggleshowdesktop", action_toggle_show_desktop, NULL @@ -1536,6 +1541,12 @@ void action_toggle_layer(union ActionData *data) client_action_end(data); } +void action_toggle_dockautohide(union ActionData *data) +{ + config_dock_hide = !config_dock_hide; + dock_configure(); +} + void action_toggle_show_desktop(union ActionData *data) { screen_show_desktop(!screen_showing_desktop); |
