From 1bf9de380991206d4afa104cd31c567583f288c2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 6 May 2007 05:19:19 +0000 Subject: refactor all the session stuff. yay, it works properly now. make sessions save the desktop being displayed. can we get rid of config_firstdesk now? refactor startup a bit. focus the window that was focused when we were restarted. have clients properly restore their session state. add undecorated to the saved session state for clients. --- openbox/openbox.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openbox/openbox.h') diff --git a/openbox/openbox.h b/openbox/openbox.h index 03dcdab5..fadb6981 100644 --- a/openbox/openbox.h +++ b/openbox/openbox.h @@ -40,8 +40,11 @@ extern Display *ob_display; /*! The number of the screen on which we're running */ extern gint ob_screen; -extern gchar *ob_sm_id; extern gboolean ob_sm_use; +extern gchar *ob_sm_id; +/* This save_file will get pass to ourselves if we restart too! So we won't + make a new file every time, yay. */ +extern gchar *ob_sm_save_file; extern gboolean ob_replace_wm; /* The state of execution of the window manager */ -- cgit v1.2.3