summaryrefslogtreecommitdiff
path: root/src/gs-manager.c
diff options
context:
space:
mode:
authorRay Strode <[email protected]>2015-09-16 15:26:01 +0200
committerinfirit <[email protected]>2015-09-16 15:26:01 +0200
commit599bc816e0dca82f921e6d77c2018d7818e7b7b2 (patch)
tree68d7ed4ad4006e1bcbf6766ad866415854f5fd4d /src/gs-manager.c
parentca6e8d35f029cc22dba9ff0a9be8a873e30aa7d2 (diff)
downloadmate-screensaver-599bc816e0dca82f921e6d77c2018d7818e7b7b2.tar.bz2
mate-screensaver-599bc816e0dca82f921e6d77c2018d7818e7b7b2.tar.xz
manager: fade out explicitly locks more quickly
If the screensaver is explicitly asked to lock (as opposed to locking because of idle), then we should do it very quickly. 1 second is too long. This commit changes the fade to 60 steps per second and a quarter of second long (put another way, about 15 fade increments). Taken from gnome-screensaver, commit:44edc03104f9757f4d866f24df8793f064b6ce70 And applied to MATE by infirit
Diffstat (limited to 'src/gs-manager.c')
-rw-r--r--src/gs-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c
index dc3bce5..7e66925 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -116,7 +116,7 @@ enum
PROP_THROTTLED,
};
-#define FADE_TIMEOUT 1000
+#define FADE_TIMEOUT 250
static guint signals [LAST_SIGNAL] = { 0, };