This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
commit to branch 
master
in repository apps/xfce4-screensaver.

commit 0ce7fc71c7b49a3c9bd2f196e7ed80398443e6ab
Author: Sean Davis <smd.seanda...@gmail.com>
Date:   Sun Nov 11 12:11:56 2018 -0500

    Use floating point arithmetic to allow fading faster than 1s.
    See 
https://git.mate-desktop.org/mate-screensaver/commit/?id=3eb44db74e80fc18f9e53793c85fb1c9ebdfa106
---
 src/gs-fade.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gs-fade.c b/src/gs-fade.c
index e62762b..43cb015 100644
--- a/src/gs-fade.c
+++ b/src/gs-fade.c
@@ -682,7 +682,7 @@ gs_fade_start (GSFade *fade,
     if (active_fade) {
         guint num_steps;
 
-        num_steps = (fade->priv->timeout / 1000) * steps_per_sec;
+        num_steps = (fade->priv->timeout / 1000.0) * steps_per_sec;
         msecs_per_step = 1000 / steps_per_sec;
         fade->priv->alpha_per_iter = 1.0 / (gdouble)num_steps;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to