From 73a4c2c913b6b0ba94760978940f30f43c51443f Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sun, 29 Sep 2013 23:21:45 +0200 Subject: fix typo in gpm_control_suspend, gpm-control.c this fix 'suspend on lid close' https://bugzilla.redhat.com/show_bug.cgi?id=1012718 --- src/gpm-control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1