summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/openbox.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 4556fc8f..025a16a7 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -172,7 +172,12 @@ int main(int argc, char **argv)
XCloseDisplay(ob_display);
- /* XXX if (ob_restart) */
+ if (ob_restart) {
+ if (ob_restart_path != NULL) {
+ /* run other shit */
+ }
+ /* re-run me */
+ }
return 0;
}