winewayland.drv: Handle application-initiated fullscreen state.
commitab3d6d985d8916b891a0e70558db95affef69161
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Fri, 29 Sep 2023 12:26:03 +0000 (29 15:26 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 13 Oct 2023 15:50:02 +0000 (13 17:50 +0200)
tree33447a3a830cc5fe7f7101c265e92312948dcd38
parent8f0d3ec13de9191cbd0d243f371775c5afc3e47a
winewayland.drv: Handle application-initiated fullscreen state.

Detect when an window wants to become fullscreen and request the Wayland
fullscreen state from the compositor. The fullscreen state for windows
is inferred by their size and position relative to the monitor that
contains their largest region.

Since there is no explicit fullscreen state for windows, compositor
initiated fullscreen requests may lead to a size change, but will not
directly affect other aspects of the window state.
dlls/winewayland.drv/wayland_surface.c
dlls/winewayland.drv/waylanddrv.h
dlls/winewayland.drv/window.c