the #ifdef was backwards for using SM or not
authorDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 21:04:28 +0000 (16:04 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 21:04:28 +0000 (16:04 -0500)
openbox/actions/session.c

index 2c37365..fc66d25 100644 (file)
@@ -35,7 +35,7 @@ static void prompt_cb(ObPrompt *p, gint result, gpointer data)
 {
     Options *o = data;
     if (result) {
-#ifndef USE_SM
+#ifdef USE_SM
         session_request_logout(o->silent);
 #else
         g_message(_("The SessionLogout actions is not available since Openbox was built without session management support"));