winewayland.drv: Handle xdg_toplevel maximized state.
A request for the maximized state has two potential origins:
1. The compositor, through an xdg_toplevel configure event. In this case
we update the window state and size accordingly.
2. The application or Wine itself, by changing the window style. When
we detect such a style, we make a request to the compositor to set
the maximized state. The compositor will then eventually reply with
a configure event, and we continue with case (1). Note that the
compositor may deny our request, in which case we will also sync
the window style accordingly.
An acknowledged maximized state imposes very strict constraints on the
size of surface content we can present. We are careful to not violate
these constraints, since otherwise the compositor will disconnect us.
Showing
Please
register
or
sign in
to comment