summaryrefslogtreecommitdiff
path: root/xfce4-session/xfsm-client.h
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2004-05-17 22:31:54 +0000
committerBenedikt Meurer <benny@xfce.org>2004-05-17 22:31:54 +0000
commitfeb37e4a4b72e312669a7b4c1d67d75a52bf62b8 (patch)
treedb162d685b014ddc4518aeefa486f1d69f3e0443 /xfce4-session/xfsm-client.h
parent4f10902c9cfddc49d38f34038c58bbcbcc3e9623 (diff)
downloadxfce4-session-feb37e4a4b72e312669a7b4c1d67d75a52bf62b8.tar.gz
Run DiscardCommand if it changes during a SAVE YOURSELF to cleanup
unneeded session files. Remember ActiveWorkspace for all Screens and restore it after the session is restored. (Old svn revision: 4553)
Diffstat (limited to 'xfce4-session/xfsm-client.h')
-rw-r--r--xfce4-session/xfsm-client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xfce4-session/xfsm-client.h b/xfce4-session/xfsm-client.h
index 19b04af6..1bce14dd 100644
--- a/xfce4-session/xfsm-client.h
+++ b/xfce4-session/xfsm-client.h
@@ -29,6 +29,7 @@ struct _XfsmClient
XfsmProperties *properties;
SmsConn sms_conn;
guint save_timeout_id;
+ gchar **old_discard_command;
};
@@ -41,5 +42,9 @@ void xfsm_client_free (XfsmClient *client);
void xfsm_client_set_initial_properties (XfsmClient *client,
XfsmProperties *properties);
+
+void xfsm_client_remember_discard_command (XfsmClient *client);
+
+void xfsm_client_maybe_run_old_discard_command (XfsmClient *client);
#endif /* !__XFSM_CLIENT_H__ */