]> Dogcows Code - chaz/openbox/blob - openbox/actions/dockautohide.c
Merge branch 'master' into chaz
[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 }
13
14 /* Always return FALSE because its not interactive */
15 static gboolean run_func(ObActionsData *data, gpointer options)
16 {
17 config_dock_hide = !config_dock_hide;
18 dock_configure();
19
20 return FALSE;
21 }
This page took 0.038189 seconds and 4 git commands to generate.