mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	protocol: Add a name event to give seat name
This provides the ability for a client to differentiate events from different seats in a multiple seat environment.
This commit is contained in:
		
							parent
							
								
									bc3e020475
								
							
						
					
					
						commit
						dce104dcc2
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
					@ -1172,7 +1172,7 @@
 | 
				
			||||||
    </request>
 | 
					    </request>
 | 
				
			||||||
   </interface>
 | 
					   </interface>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <interface name="wl_seat" version="1">
 | 
					  <interface name="wl_seat" version="2">
 | 
				
			||||||
    <description summary="group of input devices">
 | 
					    <description summary="group of input devices">
 | 
				
			||||||
      A seat is a group of keyboards, pointer and touch devices. This
 | 
					      A seat is a group of keyboards, pointer and touch devices. This
 | 
				
			||||||
      object is published as a global during start up, or when such a
 | 
					      object is published as a global during start up, or when such a
 | 
				
			||||||
| 
						 | 
					@ -1199,6 +1199,15 @@
 | 
				
			||||||
      <arg name="capabilities" type="uint"/>
 | 
					      <arg name="capabilities" type="uint"/>
 | 
				
			||||||
    </event>
 | 
					    </event>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <event name="name">
 | 
				
			||||||
 | 
					      <description summary="unique identifier for this seat">
 | 
				
			||||||
 | 
						In a multiseat configuration this can be used by the client to help
 | 
				
			||||||
 | 
						identify which physical devices the seat represents. Based on
 | 
				
			||||||
 | 
						the seat configuration used by the compositor.
 | 
				
			||||||
 | 
					      </description>
 | 
				
			||||||
 | 
					      <arg name="name" type="string"/>
 | 
				
			||||||
 | 
					    </event>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <request name="get_pointer">
 | 
					    <request name="get_pointer">
 | 
				
			||||||
      <description summary="return pointer object">
 | 
					      <description summary="return pointer object">
 | 
				
			||||||
        The ID provided will be initialized to the wl_pointer interface
 | 
					        The ID provided will be initialized to the wl_pointer interface
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue