From bbe9298e85220d8cd40ef802671ec575ba81367f Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Thu, 30 Mar 2023 22:50:31 +0200 Subject: stable/xdg-shell: clarify when which protocol errors are used Signed-off-by: Xaver Hugl --- stable/xdg-shell/xdg-shell.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'stable') 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. @@ -832,7 +832,8 @@ 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. -- cgit v1.2.3