X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fshowdesktop.c;h=6dc77d5e7e65aef08a6e6ff8401b29d7e4eeb8c4;hb=5e282dae08be3b900e0337efa0fae8f3ffa92cd7;hp=2699b1bca77675363a53653c5a6375689759550d;hpb=1b7e813c62a6e54690d15550d51ac4269e63f346;p=chaz%2Fopenbox diff --git a/openbox/actions/showdesktop.c b/openbox/actions/showdesktop.c index 2699b1bc..6dc77d5e 100644 --- a/openbox/actions/showdesktop.c +++ b/openbox/actions/showdesktop.c @@ -3,13 +3,9 @@ static gboolean run_func(ObActionsData *data, gpointer options); -void action_showdesktop_startup() +void action_showdesktop_startup(void) { - actions_register("ShowDesktop", - NULL, - NULL, - run_func, - NULL, NULL); + actions_register("ToggleShowDesktop", NULL, NULL, run_func); } /* Always return FALSE because its not interactive */