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