Texture cursors are double-scaled on wayland
When setting Gtk.Widget:cursor to a custom texture cursor, the cursor is double-scaled on Wayland. (The behaviour on X11 and Windows is correct.)
Steps to reproduce
- Compile and run this example program main.cpp which sets a custom texture cursor on a window.
- Move the mouse over the window.
Current behaviour
- Cursor on Wayland at 200% scaling is blurry and twice as large as it should be.
Expected outcome
- Results on Wayland should match X11.
- Cursor should be sharp and have same the relative size to window regardless of scaling.
Version information
Both of
- GTK 4.12.5
- GTK 4.13.6