zwp_confined_pointer_v1.unconfined vs. wl_pointer.leave ordering is undefined
Submitted by Pekka Paalanen
Assigned to Wayland bug list
Link to original bug (#106704)
Description
The specification text on zwp_confined_pointer_v1 is not clear whether a specific ordering between the unconfined and wl_pointer.leave events should be guaranteed. On the other hand, it does guarantee that the confined event can only arrive while in pointer focus, so the ordering between confined and wl_pointer.enter is clearly specified.
I propose to require that also the unconfined event can only be sent while having pointer focus.
According to https://patchwork.freedesktop.org/patch/221802/ GNOME and Weston currently implement the opposite behaviours.