diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-01-06 14:37:19 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-01-06 14:37:19 -0500 |
commit | c5e2376d3f0ed5719b7e0d8e539c23db8ac8bd24 (patch) | |
tree | 3fe4a08004d4ad521d75d42552765514ebeae04b /src/compositor.c | |
parent | b3cca0a41130ff45b70b730cb8f2273dd91531a5 (diff) |
compositor: Damage below before attaching new buffer
Diffstat (limited to 'src/compositor.c')
-rw-r--r-- | src/compositor.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |