Module: wine Branch: master Commit: 13578d60455b9200e9498172d96997cbd2ef2645 URL: https://gitlab.winehq.org/wine/wine/-/commit/13578d60455b9200e9498172d96997c...
Author: Alexandros Frantzis alexandros.frantzis@collabora.com Date: Tue Oct 24 15:40:00 2023 +0300
winewayland.drv: Prepare to handle different coordinate spaces.
Introduce and use functions to convert between the window logical and Wayland surface coordinate spaces. At the moment the two are the same but this will change with the introduction of scaling support.
---
dlls/winewayland.drv/wayland_pointer.c | 36 ++++++++++++++++-------- dlls/winewayland.drv/wayland_surface.c | 51 +++++++++++++++++++++++++++------- dlls/winewayland.drv/waylanddrv.h | 6 ++++ dlls/winewayland.drv/window.c | 22 ++++++++++----- 4 files changed, 86 insertions(+), 29 deletions(-)