Skip to content

clients: Fix cursors when compositor gives wl_seat before wl_compositor

Derek Foreman requested to merge derekf/weston:still_not_loving_cursors into main

We have no guarantee that we can create a surface for the pointer at the instant we receive a seat that will (probably eventually) need one.

Hold off until we receive an enter event before creating this - at that point we know with certainty that wl_compositor is available, since we've used it to create the surface that was entered.

Fixes #659 (closed)

Signed-off-by: Derek Foreman derek.foreman@collabora.com

Merge request reports