diff options
-rw-r--r-- | src/gpm-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c index cb84814..61fa487 100644 --- a/src/gpm-control.c +++ b/src/gpm-control.c @@ -221,7 +221,7 @@ gpm_control_suspend (GpmControl *control, GError **error) screensaver = gpm_screensaver_new (); - if (LOGIND_RUNNING()) { + if (!LOGIND_RUNNING()) { g_object_get (control->priv->client, "can-suspend", &allowed, NULL); |