Module: wine Branch: master Commit: 697b58f406cecd98539452239018a218943ccabb URL: https://gitlab.winehq.org/wine/wine/-/commit/697b58f406cecd98539452239018a21...
Author: Alexandros Frantzis alexandros.frantzis@collabora.com Date: Tue Mar 7 13:21:38 2023 +0200
winewayland.drv: Report basic monitor information.
Whenever the Wayland output display state changes (including during initialization), update the monitor information on the Wine side to reflect these changes.
For now all monitors are placed at 0,0 in the monitor space, and only the current mode is reported. These deficiencies will be addressed in upcoming commits.
We currently support a single GPU, and a single monitor for each adapter.
Signed-off-by: Alexandros Frantzis alexandros.frantzis@collabora.com
---
dlls/winewayland.drv/Makefile.in | 4 +- dlls/winewayland.drv/display.c | 155 +++++++++++++++++++++++++++++++++ dlls/winewayland.drv/wayland.c | 94 +++++++++++++++++++- dlls/winewayland.drv/wayland_output.c | 134 ++++++++++++++++++++++++++++ dlls/winewayland.drv/waylanddrv.h | 47 ++++++++++ dlls/winewayland.drv/waylanddrv_main.c | 15 +++- 6 files changed, 446 insertions(+), 3 deletions(-)