mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
protocol: Explicitly mark requests which allow null arguments
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
This commit is contained in:
parent
161c690b55
commit
11db60fe72
1 changed files with 9 additions and 9 deletions
|
|
@ -250,7 +250,7 @@
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="type" type="string"/>
|
<arg name="type" type="string" allow-null="true"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
<request name="receive">
|
<request name="receive">
|
||||||
|
|
@ -292,7 +292,7 @@
|
||||||
a target does not accept any of the offered types, type is NULL.
|
a target does not accept any of the offered types, type is NULL.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="mime_type" type="string"/>
|
<arg name="mime_type" type="string" allow-null="true"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
<event name="send">
|
<event name="send">
|
||||||
|
|
@ -335,9 +335,9 @@
|
||||||
hotspot, but subsequent surface.attach request can move the
|
hotspot, but subsequent surface.attach request can move the
|
||||||
relative position.
|
relative position.
|
||||||
</description>
|
</description>
|
||||||
<arg name="source" type="object" interface="wl_data_source"/>
|
<arg name="source" type="object" interface="wl_data_source" allow-null="true"/>
|
||||||
<arg name="origin" type="object" interface="wl_surface"/>
|
<arg name="origin" type="object" interface="wl_surface"/>
|
||||||
<arg name="icon" type="object" interface="wl_surface"/>
|
<arg name="icon" type="object" interface="wl_surface" allow-null="true"/>
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
|
|
@ -390,7 +390,7 @@
|
||||||
data_offer is valid until a new data_offer or NULL is received
|
data_offer is valid until a new data_offer or NULL is received
|
||||||
or until the client loses keyboard focus.
|
or until the client loses keyboard focus.
|
||||||
</description>
|
</description>
|
||||||
<arg name="id" type="object" interface="wl_data_offer"/>
|
<arg name="id" type="object" interface="wl_data_offer" allow-null="true"/>
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|
@ -502,7 +502,7 @@
|
||||||
</description>
|
</description>
|
||||||
<arg name="method" type="uint"/>
|
<arg name="method" type="uint"/>
|
||||||
<arg name="framerate" type="uint"/>
|
<arg name="framerate" type="uint"/>
|
||||||
<arg name="output" type="object" interface="wl_output"/>
|
<arg name="output" type="object" interface="wl_output" allow-null="true"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
<enum name="fullscreen_method">
|
<enum name="fullscreen_method">
|
||||||
|
|
@ -565,7 +565,7 @@
|
||||||
to, except the panel area. This is the main difference between
|
to, except the panel area. This is the main difference between
|
||||||
a maximized shell surface and a fullscreen shell surface.
|
a maximized shell surface and a fullscreen shell surface.
|
||||||
</description>
|
</description>
|
||||||
<arg name="output" type="object" interface="wl_output"/>
|
<arg name="output" type="object" interface="wl_output" allow-null="true"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
<request name="set_title">
|
<request name="set_title">
|
||||||
|
|
@ -697,7 +697,7 @@
|
||||||
region is the entire surface.
|
region is the entire surface.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="region" type="object" interface="wl_region"/>
|
<arg name="region" type="object" interface="wl_region" allow-null="true"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
<event name="enter">
|
<event name="enter">
|
||||||
|
|
@ -797,7 +797,7 @@
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="surface" type="object" interface="wl_surface"/>
|
<arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
|
||||||
<arg name="hotspot_x" type="int"/>
|
<arg name="hotspot_x" type="int"/>
|
||||||
<arg name="hotspot_y" type="int"/>
|
<arg name="hotspot_y" type="int"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue