From 220efff93a4b449885149101de7d10446e1f217c Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 31 Oct 2021 11:57:36 +0100 Subject: xdg-shell: add invalid_resize_edge error value The protocol states that the edges parameter of the resize request must be one of the values of the resize_edge enum but does not provide a protocol error value to handle the case where it is not. This commit adds that error value. Signed-off-by: Isaac Freund --- stable/xdg-shell/xdg-shell.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'stable/xdg-shell/xdg-shell.xml') diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 9b5279e..c5b0476 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -605,6 +605,11 @@ + + + + Set the "parent" of this surface. This surface should be stacked @@ -754,12 +759,13 @@ guarantee that the device focus will return when the resize is completed. - The edges parameter specifies how the surface should be resized, - and is one of the values of the resize_edge enum. 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. + 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 + cursor image. -- cgit v1.2.3