]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
make the ob_restart/shutdown stuff static vars and expose them only through functions...
[chaz/openbox] / openbox / action.c
index 7c98f7a627724141a6b70c7d02f4b7a05d6690d9..6e06d374360764e5afb7a197c5e61bae137d45fc 100644 (file)
@@ -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)
This page took 0.02011 seconds and 4 git commands to generate.