]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
nothing to see here, move along
[chaz/openbox] / openbox / action.c
index 2251715123aa5ba18aaeb1c0793c225472184a63..81a9ef3e1703f40c80cb95887c10c6f471492da1 100644 (file)
@@ -676,6 +676,11 @@ ActionString actionstrings[] =
         action_moveresize,
         setup_action_resize
     },
+    {
+        "toggledockautohide",
+        action_toggle_dockautohide,
+        NULL
+    },
     {
         "toggleshowdesktop",
         action_toggle_show_desktop,
@@ -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);
This page took 0.025398 seconds and 4 git commands to generate.