stable/xdg-shell: clarify when which protocol errors are used

Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
This commit is contained in:
Xaver Hugl 2023-03-30 22:50:31 +02:00
parent 60c6b51097
commit bbe9298e85

View file

@ -808,10 +808,10 @@
The edges parameter specifies how the surface should be resized, and
is one of the values of the resize_edge enum. Values not matching
a variant of the enum will cause a protocol error. The compositor
may use this information to update the surface position for example
when dragging the top left corner. The compositor may also use
this information to adapt its behavior, e.g. choose an appropriate
a variant of the enum will cause the invalid_resize_edge protocol error.
The compositor may use this information to update the surface position
for example when dragging the top left corner. The compositor may also
use this information to adapt its behavior, e.g. choose an appropriate
cursor image.
</description>
<arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/>
@ -832,7 +832,8 @@
<entry name="maximized" value="1" summary="the surface is maximized">
<description summary="the surface is maximized">
The surface is maximized. The window geometry specified in the configure
event must be obeyed by the client.
event must be obeyed by the client, or the xdg_wm_base.invalid_surface_state
error is raised.
The client should draw without shadow or other
decoration outside of the window geometry.
@ -1222,8 +1223,8 @@
This destroys the popup. Explicitly destroying the xdg_popup
object will also dismiss the popup, and unmap the surface.
If this xdg_popup is not the "topmost" popup, a protocol error
will be sent.
If this xdg_popup is not the "topmost" popup, the
xdg_wm_base.not_the_topmost_popup protocol error will be sent.
</description>
</request>