From 6f6ab8c442b1626a1cd28868900a00fe4bf8cb08 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 23 May 2007 03:07:50 +0000 Subject: save and restore the desktop number/layout/names in the session. also fix a segfault in some debug prints, printing ints as strings! --- openbox/session.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/session.h') diff --git a/openbox/session.h b/openbox/session.h index 97e55a3b..b4ce6d91 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -20,6 +20,7 @@ #define __ob__session_h #include "client.h" +#include "screen.h" #include @@ -40,6 +41,10 @@ struct _ObSessionState { /*! The desktop being viewed when the session was saved. A valud of -1 means it was not saved */ extern gint session_desktop; +extern gint session_num_desktops; +extern gboolean session_desktop_layout_present; +extern ObDesktopLayout session_desktop_layout; +extern GSList *session_desktop_names; extern GList *session_saved_state; -- cgit v1.2.3