summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gs-fade.c3
1 files changed, 2 insertions, 1 deletions
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