]> Dogcows Code - chaz/openbox/blob - showdesktop.c
6dc77d5e7e65aef08a6e6ff8401b29d7e4eeb8c4
[chaz/openbox] / 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", NULL, NULL, run_func);
9 }
10
11 /* Always return FALSE because its not interactive */
12 static gboolean run_func(ObActionsData *data, gpointer options)
13 {
14 screen_show_desktop(!screen_showing_desktop, NULL);
15
16 return FALSE;
17 }
This page took 0.037037 seconds and 3 git commands to generate.