X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=6e06d374360764e5afb7a197c5e61bae137d45fc;hb=eea43e64883fc0c988b916db99bc5b45ccffc432;hp=7c98f7a627724141a6b70c7d02f4b7a05d6690d9;hpb=452f3f8aae796f70a5bd479986aa29937070951c;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index 7c98f7a6..6e06d374 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1121,13 +1121,12 @@ void action_moveresize(union ActionData *data) void action_restart(union ActionData *data) { - ob_restart_path = g_strdup(data->execute.path); - ob_shutdown = ob_restart = TRUE; + ob_restart_other(data->execute.path); } void action_exit(union ActionData *data) { - ob_shutdown = TRUE; + ob_exit(); } void action_showmenu(union ActionData *data)