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.
Kristian Høgsberg 13 years ago
parent 867dec7ff0
commit 525696851e
  1. 1
      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 = {

Loading…
Cancel
Save