summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c5
1 files changed, 2 insertions, 3 deletions
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)