X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fshowdesktop.c;h=6dc77d5e7e65aef08a6e6ff8401b29d7e4eeb8c4;hb=403483db92a290c7f89ae6cdf27ffc18a7eccd35;hp=8781f95d42a79f776f95955f9400bad0feec8dfe;hpb=5d57a39b702a0f198c8a180a20058e3c82615523;p=chaz%2Fopenbox diff --git a/openbox/actions/showdesktop.c b/openbox/actions/showdesktop.c index 8781f95d..6dc77d5e 100644 --- a/openbox/actions/showdesktop.c +++ b/openbox/actions/showdesktop.c @@ -3,12 +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 */