From 978943fa7e2ad315596f0be31384b4b521ab1193 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Tue, 22 Jul 2014 17:39:18 +0100 Subject: [PATCH] protocol: add repeat_info event to wl_keyboard In the process wl_keyboard's version has been incremented. Given clients get the wl_keyboard from wl_seat without a version, wl_seat's version has also been incremented (wl_seat version 4 implies wl_keyboard version 4). earlier Acked-by: Daniel Stone Reviewed-by: Pekka Paalanen --- protocol/wayland.xml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 4e65b321..2d57f69f 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1277,7 +1277,7 @@ - + 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 @@ -1505,7 +1505,7 @@ - + The wl_keyboard interface represents one or more keyboards associated with a seat. @@ -1593,6 +1593,30 @@ + + + + + + Informs the client about the keyboard's repeat rate and delay. + + This event is sent as soon as the wl_keyboard object has been created, + and is guaranteed to be received by the client before any key press + event. + + Negative values for either rate or delay are illegal. A rate of zero + will disable any repeating (regardless of the value of delay). + + This event can be sent later on as well with a new value if necessary, + so clients should continue listening for the event past the creation + of wl_keyboard. + + + + +