summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):