From 7f36e21ea9d86df5e6fa62d2888891ed957c4639 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Nov 2009 19:36:18 -0500 Subject: Combine the Exit and SessionLogout actions Just "do the right thing" based on if you are connected to a session manager or not. --- openbox/session.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/session.h') diff --git a/openbox/session.h b/openbox/session.h index e2307a6f..f37e2111 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -55,4 +55,6 @@ GList* session_state_find(struct _ObClient *c); void session_request_logout(gboolean silent); +gboolean session_connected(void); + #endif -- cgit v1.2.3