[Xfce4-commits] [apps/xfce4-screensaver] 156/425: Prevent SegFault in the absence of XRANDR (Fix #46) Patch by Steven Chamberlain https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10; filename=bug749629.patch; att=1; bug=749629

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:50:03 CEST 2018


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

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit aa395dc912c8fe57ecb3162055288a039d287c89
Author: David Tagatac <dtagatac at cs.columbia.edu>
Date:   Mon Jul 21 06:35:13 2014 -0400

    Prevent SegFault in the absence of XRANDR
    (Fix #46) Patch by Steven Chamberlain
    https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=bug749629.patch;att=1;bug=749629
---
 src/gs-fade.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gs-fade.c b/src/gs-fade.c
index eaf095e..a0ecd9a 100644
--- a/src/gs-fade.c
+++ b/src/gs-fade.c
@@ -916,7 +916,8 @@ gs_fade_reset (GSFade *fade)
 	gs_fade_set_alpha (fade, fade->priv->current_alpha);
 
 	for (i = 0; i < fade->priv->num_screens; i++)
-		fade->priv->screen_priv[i].fade_finish (fade, i);
+		if (fade->priv->screen_priv[i].fade_type != FADE_TYPE_NONE)
+			fade->priv->screen_priv[i].fade_finish (fade, i);
 }
 
 static void

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list