summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-20 01:37:34 -0800
committerStefano Karapetsas <[email protected]>2012-11-20 01:37:34 -0800
commit5fdd6e52207bbf236e3888884cdd6a85c45ab4fd (patch)
tree8a3b02b57784fd298d7acefc4c313a9b46aaef6f /src
parentae8cacd5443dd6f93a5a23a5cad6e60de1b5691e (diff)
parente8b4d0fc370cca038be614e3c7a72da30e0039b8 (diff)
downloadmate-power-manager-5fdd6e52207bbf236e3888884cdd6a85c45ab4fd.tar.bz2
mate-power-manager-5fdd6e52207bbf236e3888884cdd6a85c45ab4fd.tar.xz
Merge pull request #36 from Firstyear/idle
Screen on dim, will not "undim"
Diffstat (limited to 'src')
-rw-r--r--src/gpm-idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-idle.c b/src/gpm-idle.c
index 97e9072..a7132fa 100644
--- a/src/gpm-idle.c
+++ b/src/gpm-idle.c
@@ -352,7 +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;
+ idle->priv->x_idle = is_idle;
gpm_idle_evaluate (idle);
}