[PATCH v2] Restoring alpha after the shell effects.

Axel Davy axel.davy at ens.fr
Wed Sep 11 22:59:47 PDT 2013


After the fade or zoom effects, alpha could not have been 1.0, preventing
not redrawing behind opaque windows.

Signed-off-by: Axel Davy <axel.davy at ens.fr>
---
 src/animation.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/animation.c b/src/animation.c
index 0b2fa95..9603115 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -134,6 +134,7 @@ weston_surface_animation_destroy(struct weston_surface_animation *animation)
 	wl_list_remove(&animation->animation.link);
 	wl_list_remove(&animation->listener.link);
 	wl_list_remove(&animation->transform.link);
+	animation->surface->alpha = 1.0;
 	weston_surface_geometry_dirty(animation->surface);
 	if (animation->done)
 		animation->done(animation, animation->data);
-- 
1.8.1.2



More information about the wayland-devel mailing list