From 525696851ebe96ab4a2b0e5529705454c5a1a5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 1 Mar 2012 17:10:25 -0500 Subject: [PATCH] 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. --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index 09519b78..0c99a5f4 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 = {