mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 18:40:07 +01:00
xdg-shell: Clarify set_fullscreen semantics
It was not explicitly specified (as it is in set/unset_maximize) that the compositor will respond with a configure event when a client asks to be fullscreened, and the meaning of the output parameter was somewhat awkwardly described. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Mike Blumenkrantz <zmike@samsung.com>
This commit is contained in:
parent
3c7dbb9646
commit
a82ca1f35b
1 changed files with 10 additions and 3 deletions
|
|
@ -886,9 +886,16 @@
|
||||||
<description summary="set the window as fullscreen on an output">
|
<description summary="set the window as fullscreen on an output">
|
||||||
Make the surface fullscreen.
|
Make the surface fullscreen.
|
||||||
|
|
||||||
You can specify an output that you would prefer to be fullscreen.
|
After requesting that the surface should be fullscreened, the
|
||||||
If this value is NULL, it's up to the compositor to choose which
|
compositor will respond by emitting a configure event with the
|
||||||
display will be used to map this surface.
|
"fullscreen" state and the required window geometry. The client must
|
||||||
|
also acknowledge the configure when committing the new content (see
|
||||||
|
ack_configure).
|
||||||
|
|
||||||
|
The output passed by the request indicates the client's preference as
|
||||||
|
to which display it should be set fullscreen on. If this value is NULL,
|
||||||
|
it's up to the compositor to choose which display will be used to map
|
||||||
|
this surface.
|
||||||
|
|
||||||
If the surface doesn't cover the whole output, the compositor will
|
If the surface doesn't cover the whole output, the compositor will
|
||||||
position the surface in the center of the output and compensate with
|
position the surface in the center of the output and compensate with
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue