summaryrefslogtreecommitdiff
path: root/src/compositor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor.c')
-rw-r--r--src/compositor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 2b46fbc..768477d 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;