winewayland.drv: Basic support for Windows monitor positioning.
commitce6a7ae84110fc1e8963f5c6e82d3f65f6c0cac7
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 11 Apr 2023 14:47:56 +0000 (11 17:47 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 21 Apr 2023 07:59:37 +0000 (21 09:59 +0200)
treeadd07101dac9236898cf245d846658837bd49ae7
parent7b48de324ac7333df3d5d0ae71d1f8d3fe948ed6
winewayland.drv: Basic support for Windows monitor positioning.

Use the xdg-output-unstable-v1 protocol to get the positions of the
Wayland outputs in the compositor logical space, and use this
information to arrange the monitors in the Windows virtual screen space.
For now we assume that the logical positions match the physical pixel
positions (i.e., the outputs are not scaled), a deficiency which will be
addressed in an upcoming commit.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
dlls/winewayland.drv/display.c
dlls/winewayland.drv/wayland_output.c
dlls/winewayland.drv/waylanddrv.h