summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 18:50:47 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 18:50:47 +0000
commiteea43e64883fc0c988b916db99bc5b45ccffc432 (patch)
treed1c9f6b3f2d1ffec4993b8bb8e3c5d462db41c84 /openbox/action.c
parent452f3f8aae796f70a5bd479986aa29937070951c (diff)
make the ob_restart/shutdown stuff static vars and expose them only through functions ob_restart_other(), ob_restart() and ob_exit()
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)