aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-07-11 20:03:55 +0300
committerSimon Ser <contact@emersion.fr>2019-09-10 09:47:19 +0000
commit4c2b7375612cd2eb8565898f76fb5e171b17777b (patch)
treee3a57107d27d69918360093a5429e4129d69bea3 /protocol
parenttests: test that binding to a global with an interface mismatch fails (diff)
downloadwayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.tar
wayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.tar.gz
wayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.tar.bz2
wayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.tar.lz
wayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.tar.xz
wayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.tar.zst
wayland-4c2b7375612cd2eb8565898f76fb5e171b17777b.zip
protocol: invalid_method is sent on malformed request
Currently libwayland sends a wl_display.invalid_method when arguments provided with a request are invalid (e.g. too short, see wl_client_connection_data). Clarify the protocol by adding that invalid_method can be sent on malformed request. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index e897302..f1a13b7 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -91,7 +91,7 @@
<entry name="invalid_object" value="0"
summary="server couldn't find object"/>
<entry name="invalid_method" value="1"
- summary="method doesn't exist on the specified interface"/>
+ summary="method doesn't exist on the specified interface or malformed request"/>
<entry name="no_memory" value="2"
summary="server is out of memory"/>
<entry name="implementation" value="3"