[gnome-settings-daemon] power: Explain the disabling of the dimming



commit 28a415d9978b98e68aa95a47f7ab39d737f78ca3
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 17 12:46:05 2013 +0100

    power: Explain the disabling of the dimming

 plugins/power/gsd-power-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index ad60538..9cbb77a 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2656,6 +2656,9 @@ idle_configure (GsdPowerManager *manager)
                                 timeout_dim = IDLE_DIM_BLANK_DISABLED_MIN;
                         } else {
                                 timeout_dim /= 3;
+                                /* Don't bother dimming if the idle-delay is
+                                 * too low, we'll do that when we bring down the
+                                 * screen lock */
                                 if (timeout_dim < 10)
                                         timeout_dim = 0;
                         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]