]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
no \n in g_message
[chaz/openbox] / openbox / action.c
index 3e463d668732643037b45ff89aa131e3ecd4e4a5..cf2c03079e9d715f94bc2945941950a31ffbad8a 100644 (file)
@@ -4,6 +4,7 @@
 #include "screen.h"
 #include "action.h"
 #include "dispatch.h"
+#include "openbox.h"
 
 #include <glib.h>
 
@@ -425,3 +426,14 @@ void action_resize(union ActionData *data)
     client_configure(c, data->resize.corner, c->area.x, c->area.y, w, h,
                      TRUE, data->resize.final);
 }
+
+void action_restart(union ActionData *data)
+{
+    ob_restart_path = data->execute.path;
+    ob_shutdown = ob_restart = TRUE;
+}
+
+void action_exit(union ActionData *data)
+{
+    ob_shutdown = TRUE;
+}
This page took 0.019998 seconds and 4 git commands to generate.