1 #include "openbox/action.h"
2 #include "openbox/screen.h"
4 static gboolean run_func(ObActionData *data, gpointer options);
6 void action_showdesktop_startup(void)
8 action_register("ToggleShowDesktop", NULL, NULL, run_func);
11 /* Always return FALSE because its not interactive */
12 static gboolean run_func(ObActionData *data, gpointer options)
14 screen_show_desktop(!screen_showing_desktop, NULL);