summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Brown <[email protected]>2012-11-14 22:37:30 +1030
committerWilliam Brown <[email protected]>2012-11-14 22:37:30 +1030
commitfbe4f6cc621eab7520e72463434d192cf64c878d (patch)
tree8e8e2392ae7ea17aeb203c826ab338026696c556 /src
parent9361bbfbb5f7fda96f147310125fc709f4da2200 (diff)
downloadmate-power-manager-fbe4f6cc621eab7520e72463434d192cf64c878d.tar.bz2
mate-power-manager-fbe4f6cc621eab7520e72463434d192cf64c878d.tar.xz
Fixes an issue where displays would not turn off despite the system being idle
Diffstat (limited to 'src')
-rw-r--r--src/gpm-idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-idle.c b/src/gpm-idle.c
index 0a7c33c..97e9072 100644
--- a/src/gpm-idle.c
+++ b/src/gpm-idle.c
@@ -352,6 +352,7 @@ static void
gpm_idle_session_idle_changed_cb (GpmSession *session, gboolean is_idle, GpmIdle *idle)
{
egg_debug ("Received mate session idle changed: %i", is_idle);
+ idle->priv->x_idle = TRUE;
gpm_idle_evaluate (idle);
}