1 #include "openbox/actions.h"
2 #include "openbox/screen.h"
4 static gboolean run_func(ObActionsData *data, gpointer options);
6 void action_showdesktop_startup()
8 actions_register("ToggleShowDesktop",
14 /* Always return FALSE because its not interactive */
15 static gboolean run_func(ObActionsData *data, gpointer options)
17 screen_show_desktop(!screen_showing_desktop, NULL);