mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	protocol: Add a couple of missing allow-null annotations
wl_data_device.set_selection() allows NULL to withdraw the previously set selection and wl_surface.attach() allows a NULL buffer to hide the surface.
This commit is contained in:
		
							parent
							
								
									11db60fe72
								
							
						
					
					
						commit
						8a023688c0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -342,7 +342,7 @@
 | 
				
			||||||
    </request>
 | 
					    </request>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <request name="set_selection">
 | 
					    <request name="set_selection">
 | 
				
			||||||
      <arg name="source" type="object" interface="wl_data_source"/>
 | 
					      <arg name="source" type="object" interface="wl_data_source" allow-null="true"/>
 | 
				
			||||||
      <arg name="serial" type="uint"/>
 | 
					      <arg name="serial" type="uint"/>
 | 
				
			||||||
    </request>
 | 
					    </request>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -635,7 +635,7 @@
 | 
				
			||||||
	corner, relative to the old buffers upper left corner.
 | 
						corner, relative to the old buffers upper left corner.
 | 
				
			||||||
      </description>
 | 
					      </description>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <arg name="buffer" type="object" interface="wl_buffer"/>
 | 
					      <arg name="buffer" type="object" interface="wl_buffer" allow-null="true"/>
 | 
				
			||||||
      <arg name="x" type="int"/>
 | 
					      <arg name="x" type="int"/>
 | 
				
			||||||
      <arg name="y" type="int"/>
 | 
					      <arg name="y" type="int"/>
 | 
				
			||||||
    </request>
 | 
					    </request>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue