diff --git a/src/compositor.c b/src/compositor.c index 2b46fbca..768477de 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1959,6 +1959,7 @@ input_device_attach(struct wl_client *client, buffer = buffer_resource->data; weston_surface_attach(&device->sprite->surface, buffer); + empty_region(&device->sprite->input); if (!buffer) return;