| 
1832 | 1832 | 	x and y, combined with the new surface size define in which  | 
1833 | 1833 | 	directions the surface's size changes.  | 
1834 | 1834 | 
 
  | 
 | 1835 | +	The exact semantics of wl_surface.offset are role-specific. Refer to  | 
 | 1836 | +	the documentation of specific roles for more information.  | 
 | 1837 | + | 
1835 | 1838 | 	Surface location offset is double-buffered state, see  | 
1836 | 1839 | 	wl_surface.commit.  | 
1837 | 1840 | 
 
  | 
 | 
1880 | 1883 |     </event>  | 
1881 | 1884 |    </interface>  | 
1882 | 1885 | 
 
  | 
1883 |  | -  <interface name="wl_seat" version="9">  | 
 | 1886 | +  <interface name="wl_seat" version="10">  | 
1884 | 1887 |     <description summary="group of input devices">  | 
1885 | 1888 |       A seat is a group of keyboards, pointer and touch devices. This  | 
1886 | 1889 |       object is published as a global during start up, or when such a  | 
 | 
2013 | 2016 | 
 
  | 
2014 | 2017 |   </interface>  | 
2015 | 2018 | 
 
  | 
2016 |  | -  <interface name="wl_pointer" version="9">  | 
 | 2019 | +  <interface name="wl_pointer" version="10">  | 
2017 | 2020 |     <description summary="pointer input device">  | 
2018 | 2021 |       The wl_pointer interface represents one or more input devices,  | 
2019 | 2022 |       such as mice, which control the pointer location and pointer_focus  | 
 | 
2426 | 2429 |     </event>  | 
2427 | 2430 |   </interface>  | 
2428 | 2431 | 
 
  | 
2429 |  | -  <interface name="wl_keyboard" version="9">  | 
 | 2432 | +  <interface name="wl_keyboard" version="10">  | 
2430 | 2433 |     <description summary="keyboard input device">  | 
2431 | 2434 |       The wl_keyboard interface represents one or more keyboards  | 
2432 | 2435 |       associated with a seat.  | 
 | 
2479 | 2482 | 	the surface argument and the keys currently logically down to the keys  | 
2480 | 2483 | 	in the keys argument. The compositor must not send this event if the  | 
2481 | 2484 | 	wl_keyboard already had an active surface immediately before this event.  | 
 | 2485 | + | 
 | 2486 | +	Clients should not use the list of pressed keys to emulate key-press  | 
 | 2487 | +	events. The order of keys in the list is unspecified.  | 
2482 | 2488 |       </description>  | 
2483 | 2489 |       <arg name="serial" type="uint" summary="serial number of the enter event"/>  | 
2484 | 2490 |       <arg name="surface" type="object" interface="wl_surface" summary="surface gaining keyboard focus"/>  | 
 | 
2505 | 2511 |     <enum name="key_state">  | 
2506 | 2512 |       <description summary="physical key state">  | 
2507 | 2513 | 	Describes the physical state of a key that produced the key event.  | 
 | 2514 | + | 
 | 2515 | +	Since version 10, the key can be in a "repeated" pseudo-state which  | 
 | 2516 | +	means the same as "pressed", but is used to signal repetition in the  | 
 | 2517 | +	key event.  | 
 | 2518 | + | 
 | 2519 | +	The key may only enter the repeated state after entering the pressed  | 
 | 2520 | +	state and before entering the released state. This event may be  | 
 | 2521 | +	generated multiple times while the key is down.  | 
2508 | 2522 |       </description>  | 
2509 | 2523 |       <entry name="released" value="0" summary="key is not pressed"/>  | 
2510 | 2524 |       <entry name="pressed" value="1" summary="key is pressed"/>  | 
 | 2525 | +      <entry name="repeated" value="2" summary="key was repeated" since="10"/>  | 
2511 | 2526 |     </enum>  | 
2512 | 2527 | 
 
  | 
2513 | 2528 |     <event name="key">  | 
 | 
2530 | 2545 | 	compositor must not send this event if state is pressed (resp. released)  | 
2531 | 2546 | 	and the key was already logically down (resp. was not logically down)  | 
2532 | 2547 | 	immediately before this event.  | 
 | 2548 | + | 
 | 2549 | +	Since version 10, compositors may send key events with the "repeated"  | 
 | 2550 | +	key state when a wl_keyboard.repeat_info event with a rate argument of  | 
 | 2551 | +	0 has been received. This allows the compositor to take over the  | 
 | 2552 | +	responsibility of key repetition.  | 
2533 | 2553 |       </description>  | 
2534 | 2554 |       <arg name="serial" type="uint" summary="serial number of the key event"/>  | 
2535 | 2555 |       <arg name="time" type="uint" summary="timestamp with millisecond granularity"/>  | 
 | 
2590 | 2610 |     </event>  | 
2591 | 2611 |   </interface>  | 
2592 | 2612 | 
 
  | 
2593 |  | -  <interface name="wl_touch" version="9">  | 
 | 2613 | +  <interface name="wl_touch" version="10">  | 
2594 | 2614 |     <description summary="touchscreen input device">  | 
2595 | 2615 |       The wl_touch interface represents a touchscreen  | 
2596 | 2616 |       associated with a seat.  | 
 | 
3245 | 3265 |     </request>  | 
3246 | 3266 |   </interface>  | 
3247 | 3267 | 
 
  | 
 | 3268 | +  <interface name="wl_fixes" version="1">  | 
 | 3269 | +    <description summary="wayland protocol fixes">  | 
 | 3270 | +      This global fixes problems with other core-protocol interfaces that  | 
 | 3271 | +      cannot be fixed in these interfaces themselves.  | 
 | 3272 | +    </description>  | 
 | 3273 | + | 
 | 3274 | +    <request name="destroy" type="destructor">  | 
 | 3275 | +      <description summary="destroys this object"/>  | 
 | 3276 | +    </request>  | 
 | 3277 | + | 
 | 3278 | +    <request name="destroy_registry">  | 
 | 3279 | +      <description summary="destroy a wl_registry">  | 
 | 3280 | +	This request destroys a wl_registry object.  | 
 | 3281 | + | 
 | 3282 | +	The client should no longer use the wl_registry after making this  | 
 | 3283 | +	request.  | 
 | 3284 | + | 
 | 3285 | +	The compositor will emit a wl_display.delete_id event with the object ID  | 
 | 3286 | +	of the registry and will no longer emit any events on the registry. The  | 
 | 3287 | +	client should re-use the object ID once it receives the  | 
 | 3288 | +	wl_display.delete_id event.  | 
 | 3289 | +      </description>  | 
 | 3290 | +      <arg name="registry" type="object" interface="wl_registry"  | 
 | 3291 | +	   summary="the registry to destroy"/>  | 
 | 3292 | +    </request>  | 
 | 3293 | +  </interface>  | 
 | 3294 | + | 
3248 | 3295 | </protocol>  | 
0 commit comments