window: Workaround a stuck frame callback on the cursor surface
window: Workaround a stuck frame callback on the cursor surface

It is possible that a client loses the focus between receiving a
pointer.enter event and sending a pointer.set_cursor request. In that
case, the cursor surface might not be mapped and the frame callback
requested on it will never trigger.

Work around this by trying to remap the cursor surface whenever there
is a frame callback and the serial for the enter event is higher than
the cursor serial.

Fantu/compositor-spice,giucam/weston,krezovic/weston,xorgy/weston,kwm81/weston,eyolfson/weston,sir-murray/weston,xorgy/weston,sir-murray/weston,Gnurou/weston,Gnurou/weston,jonnylamb/weston,Tarnyko/weston-xdg_surface_present,giucam/weston,eyolfson/weston,Fantu/compositor-spice,udoprog/weston,mchalupa/weston,Fantu/compositor-spice,mchalupa/weston,krezovic/weston,jonnylamb/weston,udoprog/weston,Tarnyko/weston-xdg_surface_present,kwm81/weston