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.
This commit is contained in:
parent
867dec7ff0
commit
525696851e
@ -1833,6 +1833,7 @@ input_device_attach(struct wl_client *client,
|
|||||||
buffer->width, buffer->height);
|
buffer->width, buffer->height);
|
||||||
|
|
||||||
weston_buffer_attach(buffer, &device->sprite->surface);
|
weston_buffer_attach(buffer, &device->sprite->surface);
|
||||||
|
weston_surface_damage(device->sprite);
|
||||||
}
|
}
|
||||||
|
|
||||||
const static struct wl_input_device_interface input_device_interface = {
|
const static struct wl_input_device_interface input_device_interface = {
|
||||||
|
Loading…
Reference in New Issue
Block a user