From 7831fe21984005a8bfc8783ae0a8a4b15737fe68 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 22 Sep 2014 11:24:17 +0300 Subject: x11, doc: add note about per-client flags like detectable autorepeat Signed-off-by: Ran Benita --- xkbcommon/xkbcommon-x11.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xkbcommon/xkbcommon-x11.h b/xkbcommon/xkbcommon-x11.h index f747fb5..5b14b66 100644 --- a/xkbcommon/xkbcommon-x11.h +++ b/xkbcommon/xkbcommon-x11.h @@ -77,6 +77,10 @@ extern "C" { * 5. Create an initial xkb_state for this device, using the * xkb_x11_state_new_from_device() function. * + * @note At this point, you may consider setting various XKB controls and + * XKB per-client flags. For example, enabling detectable autorepeat: \n + * http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Detectable_Autorepeat + * * Next, you need to react to state changes (e.g. a modifier was pressed, * the layout was changed) and to keymap changes (e.g. a tool like xkbcomp, * setxkbmap or xmodmap was used): -- cgit v1.2.1