summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 1f5ded49..ea9b895f 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -5,6 +5,7 @@
#include "dispatch.h"
#include "xerror.h"
#include "prop.h"
+#include "startup.h"
#include "screen.h"
#include "focus.h"
#include "moveresize.h"
@@ -151,6 +152,9 @@ int main(int argc, char **argv)
prop_startup(); /* get atoms values for the display */
extensions_query_all(); /* find which extensions are present */
+ /* save stuff that we can use to restore state */
+ startup_save();
+
if (screen_annex()) { /* it will be ours! */
/* startup the parsing so everything can register sections of the rc */
parse_startup();