On Thu Aug 31 12:57:08 2023 +0000, Alexandros Frantzis wrote:
what I am seeing is that after leaving a window for the desktop area and then reentering that window we don't get a new SetCursor callback. That's true for both the Wayland driver and the X11 driver. A clarification: this is true only if the cursor for the window doesn't change on reentry I think we could have a notification on re-entry, although it's not critical. I can see why it doesn't, as we only monitor Wine windows.
Anyway, if you have to keep the cursor surface around then it's pointless. I was mostly interested in getting rid of the cursor surface on every window surface, I find the `surface->cursor.wl_surface` a bit confusing, too many "surface"s around. It's not a big deal though. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3686#note_44040