News: 0001633182

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Wine Wayland Driver Merges Pointer Warp Support

([WINE] 3 Hours Ago wp_pointer_warp_v1)


Wine's Wayland native driver has taken another step forward with now supporting the pointer warp "wp_pointer_warp_v1" protocol.

Wayland's pointer warp protocol is important for being able to move the mouse cursor to a specific location relative to the Wayland surface. This is commonly used for first person shooter games, infinite panning within various applications, and other improved input handling. The widely-used SDL library [1]already supports the pointer warp protocol and is supported by compositors like KWin 6.4+, GNOME's Mutter 49+, and wlroots 0.19+.

With Wine Wayland now supporting the wp_pointer_warp_v1 protocol it's used for the SetCursorPos handling for allowing Windows games/apps to better behave now in this native Wayland environment. Support for falling back to the existing pointer locking/hint workaround still exists for non-compliant Wayland compositors or if any issues occur.

[2]This merge request landed the wp_pointer_warp_v1 handling for the Wine Wayland driver, which was merged on Monday. With it now merged to Git, look for this feature in Friday's Wine 11.9 bi-weekly development release.



[1] https://www.phoronix.com/news/SDL-Lands-Wayland-Pointer-Warp

[2] https://gitlab.winehq.org/wine/wine/-/merge_requests/10830



No man's ambition has a right to stand in the way of performing a simple
act of justice.
-- John Altgeld