summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-03-01 17:10:25 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-03-01 17:33:52 -0500
commit525696851ebe96ab4a2b0e5529705454c5a1a5f4 (patch)
treee304a98cb1bd3793d6403f87316f15ae77efc4fa
parent867dec7ff09e1060f9b45e284bd809c06e2193f0 (diff)
compositor: Damage sprite surface on attach
Normally the client is responsible for damaging the surface after attach, but the sprite surface is an internal surface.
-rw-r--r--src/compositor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 09519b7..0c99a5f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1833,6 +1833,7 @@ input_device_attach(struct wl_client *client,
buffer->width, buffer->height);
weston_buffer_attach(buffer, &device->sprite->surface);
+ weston_surface_damage(device->sprite);
}
const static struct wl_input_device_interface input_device_interface = {