summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-09-22 11:24:17 +0300
committerRan Benita <ran234@gmail.com>2014-09-22 11:54:04 +0300
commit7831fe21984005a8bfc8783ae0a8a4b15737fe68 (patch)
treeb45e9e2885702ba8fba28c5900f3f89baab02526
parent68962aa1f988151bc443f30b49618bd70080d3a6 (diff)
downloadxorg-lib-libxkbcommon-7831fe21984005a8bfc8783ae0a8a4b15737fe68.tar.gz
x11, doc: add note about per-client flags like detectable autorepeat
Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--xkbcommon/xkbcommon-x11.h4
1 files changed, 4 insertions, 0 deletions
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):