diff options
author | Ray Strode <[email protected]> | 2015-09-16 15:26:01 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-16 15:26:01 +0200 |
commit | 599bc816e0dca82f921e6d77c2018d7818e7b7b2 (patch) | |
tree | 68d7ed4ad4006e1bcbf6766ad866415854f5fd4d /src/gs-fade.c | |
parent | ca6e8d35f029cc22dba9ff0a9be8a873e30aa7d2 (diff) | |
download | mate-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-fade.c')
-rw-r--r-- | src/gs-fade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-fade.c b/src/gs-fade.c index 566078d..e8d52b7 100644 --- a/src/gs-fade.c +++ b/src/gs-fade.c @@ -729,7 +729,7 @@ static void gs_fade_start (GSFade *fade, guint timeout) { - guint steps_per_sec = 30; + guint steps_per_sec = 60; guint msecs_per_step; struct GSFadeScreenPrivate *screen_priv; gboolean active_fade, res; |