compositor: Set pointer surface input region to empty on attach
We set up an emtpy region for the initial NULL-cursor, and then going
from no buffer to a 32x32 buffer didn't trigger the undeffing of the input
region. So when something sets a cursor of a different size, the cursor
surface input region gets initialized and starts swallowing events.
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 @@
buffer = buffer_resource->data;
weston_surface_attach(&device->sprite->surface, buffer);
+ empty_region(&device->sprite->input);
if (!buffer)
return;