Commit 270e23e5 authored by Simon Ser's avatar Simon Ser

protocol: invalid_method is sent on invalid arguments

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 invalid
Signed-off-by: Simon Ser's avatarSimon Ser <>
parent ea11878d
Pipeline #48176 passed with stage
in 1 minute and 38 seconds
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<entry name="invalid_object" value="0" <entry name="invalid_object" value="0"
summary="server couldn't find object"/> summary="server couldn't find object"/>
<entry name="invalid_method" value="1" <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 invalid arguments"/>
<entry name="no_memory" value="2" <entry name="no_memory" value="2"
summary="server is out of memory"/> summary="server is out of memory"/>
<entry name="implementation" value="3" <entry name="implementation" value="3"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment