winewayland.drv: Report basic monitor information.
commit697b58f406cecd98539452239018a218943ccabb
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 7 Mar 2023 11:21:38 +0000 (7 13:21 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 16 Mar 2023 11:52:37 +0000 (16 12:52 +0100)
treea5c062b8764beed2b8ccd765aa7329c778d2690b
parent243c19098ee2e5c87a6bdbebdbb4c5cf598a9de2
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
dlls/winewayland.drv/display.c [new file with mode: 0644]
dlls/winewayland.drv/wayland.c
dlls/winewayland.drv/wayland_output.c [new file with mode: 0644]
dlls/winewayland.drv/waylanddrv.h
dlls/winewayland.drv/waylanddrv_main.c