Module: wine Branch: master Commit: bf1cabd18fdce203176d783976b8347222ac621e URL: https://gitlab.winehq.org/wine/wine/-/commit/bf1cabd18fdce203176d783976b8347...
Author: Alexandros Frantzis alexandros.frantzis@collabora.com Date: Thu Nov 30 11:03:11 2023 +0200
winewayland.drv: Implement ClipCursor.
Use the zwp_pointer_constraints_v1 protocol to implement cursor clipping. Note that Wayland only allows us to constrain the cursor within the extents of a particular target surface.
---
dlls/winewayland.drv/Makefile.in | 1 + .../pointer-constraints-unstable-v1.xml | 339 +++++++++++++++++++++ dlls/winewayland.drv/wayland.c | 10 + dlls/winewayland.drv/wayland_pointer.c | 141 +++++++++ dlls/winewayland.drv/wayland_surface.c | 2 + dlls/winewayland.drv/waylanddrv.h | 6 + dlls/winewayland.drv/waylanddrv_main.c | 1 + dlls/winewayland.drv/window.c | 6 + 8 files changed, 506 insertions(+)