summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-09-21 00:59:11 +0300
committerRan Benita <ran234@gmail.com>2014-09-21 00:59:11 +0300
commitf0cd7abcff5976a94aafdd7f47313b0d123ba586 (patch)
treed0ab3eadae924bdc4e127082c6dfc99bad2a76eb /doc
parent51ae4a172a86e6f54026ec9ac6b15c2d8cded57b (diff)
downloadxorg-lib-libxkbcommon-f0cd7abcff5976a94aafdd7f47313b0d123ba586.tar.gz
quick-guide: fix xkb_state_key_get_syms() example
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/quick-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/quick-guide.md b/doc/quick-guide.md
index 92f937c..a8634fd 100644
--- a/doc/quick-guide.md
+++ b/doc/quick-guide.md
@@ -138,7 +138,7 @@ single event can result in multiple keysyms. Here's how to use it:
const xkb_keysym_t *keysyms;
int num_keysyms;
- num_keysyms = xkb_state_key_get_syms(state, keycode);
+ num_keysyms = xkb_state_key_get_syms(state, keycode, &keysyms);
~~~
We can also get a UTF-8 string representation for this key: