Skip to content

Fix cursors

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

Turns out my fix for animated cursors (f079f436) broke all cursors (animated or otherwise) when they leave a window that has a pop-up.

We also have some other entertaining problems though - we can't animate a cursor using our new "recreate the cursor surface every frame" method, because during a pop-up if the cursor is outside the client window the compositor will ignore setting the new surface.

Also, animated cursors have apparently, for years, stopped animating during a pop-up.Also,

Our new-surface-per-cursor-update method of animating causes flickering cursors on GNOME shell (and this may or may not be a GNOME shell bug, but it's incidentally fixed by the required fix for pop-ups supporting animated cursors)

Merge request reports