From 3908c55155652719c630537c73911590e1f42cc9 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 8253336..ebf052a 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