summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Brown <[email protected]>2012-11-18 12:00:05 +1030
committerWilliam Brown <[email protected]>2012-11-18 12:00:05 +1030
commite8b4d0fc370cca038be614e3c7a72da30e0039b8 (patch)
tree822b7c63040f56ec0786cce7b5f89a26ed5260bf /src
parent1ea3233503f84366afd4e0a76e47afa258d17d04 (diff)
downloadmate-power-manager-e8b4d0fc370cca038be614e3c7a72da30e0039b8.tar.bz2
mate-power-manager-e8b4d0fc370cca038be614e3c7a72da30e0039b8.tar.xz
This fixes an issue that I introduced, where when the screen would dim on idle, it would 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);
}