From c5e2376d3f0ed5719b7e0d8e539c23db8ac8bd24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 6 Jan 2012 14:37:19 -0500 Subject: [PATCH] compositor: Damage below before attaching new buffer --- src/compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index fb664f62..08278c6c 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -988,6 +988,8 @@ surface_attach(struct wl_client *client, struct weston_shell *shell = es->compositor->shell; struct wl_buffer *buffer = buffer_resource->data; + weston_surface_damage_below(es); + if (es->buffer) { weston_buffer_post_release(es->buffer); wl_list_remove(&es->buffer_destroy_listener.link);