diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2016-06-15 17:36:17 -0700 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2016-06-21 11:35:21 +1000 |
commit | 094c8dc59bd3a7b6e4ebd80c07ab8fdbc8eaf749 (patch) | |
tree | f7c36ba39c90e64a7fa040e603515b83d3516f80 /doc | |
parent | 832e32dc6ccab1a310c1b1f8dbde26a0f09aa005 (diff) | |
download | xorg-lib-libxkbcommon-094c8dc59bd3a7b6e4ebd80c07ab8fdbc8eaf749.tar.gz |
doc: Declare keymap for wayland example
keymap was defined in the X11 example, but also define it in the wayland
example just to make it a bit more standalone
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/quick-guide.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/quick-guide.md b/doc/quick-guide.md index a576070..6e04ba5 100644 --- a/doc/quick-guide.md +++ b/doc/quick-guide.md @@ -74,6 +74,7 @@ with a keymap. In this case, we can create the keymap object like this: ~~~{.c} /* From the wl_keyboard::keymap event. */ const char *keymap_string = <...>; + struct xkb_keymap *keymap; keymap = xkb_keymap_new_from_string(ctx, keymap_string, XKB_KEYMAP_FORMAT_TEXT_V1, |