diff options
author | Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> | 2012-07-02 20:03:31 +1000 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-07-02 13:53:06 -0400 |
commit | 11db60fe729539315c96745c50ae3160dc16001c (patch) | |
tree | 3fa5ba60d173be75730f850b0efc02ab22ae75d6 /protocol | |
parent | 161c690b558fff9d0f407311ae4e1fbe389775f7 (diff) |
protocol: Explicitly mark requests which allow null arguments
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wayland.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 5260ecf..06b3d0f 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -250,7 +250,7 @@ </description> <arg name="serial" type="uint"/> - <arg name="type" type="string"/> + <arg name="type" type="string" allow-null="true"/> </request> <request name="receive"> @@ -292,7 +292,7 @@ a target does not accept any of the offered types, type is NULL. </description> - <arg name="mime_type" type="string"/> + <arg name="mime_type" type="string" allow-null="true"/> </event> <event name="send"> @@ -335,9 +335,9 @@ hotspot, but subsequent surface.attach request can move the relative position. </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="icon" type="object" interface="wl_surface"/> + <arg name="icon" type="object" interface="wl_surface" allow-null="true"/> <arg name="serial" type="uint"/> </request> @@ -390,7 +390,7 @@ data_offer is valid until a new data_offer or NULL is received or until the client loses keyboard focus. </description> - <arg name="id" type="object" interface="wl_data_offer"/> + <arg name="id" type="object" interface="wl_data_offer" allow-null="true"/> </event> </interface> @@ -502,7 +502,7 @@ </description> <arg name="method" 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> <enum name="fullscreen_method"> @@ -565,7 +565,7 @@ to, except the panel area. This is the main difference between a maximized shell surface and a fullscreen shell surface. </description> - <arg name="output" type="object" interface="wl_output"/> + <arg name="output" type="object" interface="wl_output" allow-null="true"/> </request> <request name="set_title"> @@ -697,7 +697,7 @@ region is the entire surface. </description> - <arg name="region" type="object" interface="wl_region"/> + <arg name="region" type="object" interface="wl_region" allow-null="true"/> </request> <event name="enter"> @@ -797,7 +797,7 @@ </description> <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_y" type="int"/> </request> |