Skip to content

Fix override cursors in Wayland

There is a lot of bug reports (someone even closed) but the issue present in current Wayland session.

  1. Open Plasma applet move the cursor to resize area, so window became move-resizable, move cursor out of the applet to be dismissed, open the same applet the cursor is move-resized because the window is the same, just hidden then shown, cursor is restored incorrectly
  2. In browser (browser window is focused all the time) or any other window with hyper links, cursor is mostly not hand over links because of code presumably focused.
  3. Leave event is sent incorrectly (to me) we have focus seat but leave event is sent to current seat or next seat (which is obvious wrong) I'm not expert in Wayland, but presumably to send leave event to current seat or next seat (probably next of previous seat is current one) is generally wrong.

The patch aims to fix all the issues with override cursors in Wayland session, so test it precisely and I will update accordingly it.

Merge request reports