summaryrefslogtreecommitdiff
path: root/stable
diff options
context:
space:
mode:
authorXaver Hugl <xaver.hugl@gmail.com>2023-03-30 22:50:31 +0200
committerXaver Hugl <xaver.hugl@gmail.com>2023-05-22 15:47:47 +0200
commitbbe9298e85220d8cd40ef802671ec575ba81367f (patch)
treee642a61b5903fbc6b9d8d78e1434af1d63cde2dc /stable
parent60c6b510979a48fc3ff62237e4fc33b5adef193e (diff)
stable/xdg-shell: clarify when which protocol errors are used
Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
Diffstat (limited to 'stable')
-rw-r--r--stable/xdg-shell/xdg-shell.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml
index 5cbd0d5..6ba8423 100644
--- a/stable/xdg-shell/xdg-shell.xml
+++ b/stable/xdg-shell/xdg-shell.xml
@@ -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>