]> Dogcows Code - chaz/openbox/blob - openbox/actions/dockautohide.c
add a missing #include
[chaz/openbox] / openbox / actions / dockautohide.c
1 #include "openbox/actions.h"
2 #include "openbox/dock.h"
3 #include "openbox/config.h"
4
5 static gboolean run_func(ObActionsData *data, gpointer options);
6
7 void action_dockautohide_startup(void)
8 {
9 actions_register("ToggleDockAutoHide",
10 NULL, NULL,
11 run_func,
12 NULL, NULL);
13 }
14
15 /* Always return FALSE because its not interactive */
16 static gboolean run_func(ObActionsData *data, gpointer options)
17 {
18 config_dock_hide = !config_dock_hide;
19 dock_configure();
20
21 return FALSE;
22 }
This page took 0.034584 seconds and 4 git commands to generate.