projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
832e32d
)
doc: Declare keymap for wayland example
author
Bryce Harrington
<bryce@osg.samsung.com>
Thu, 16 Jun 2016 00:36:17 +0000
(17:36 -0700)
committer
Daniel Stone
<daniels@collabora.com>
Tue, 21 Jun 2016 01:35:21 +0000
(11:35 +1000)
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>
doc/quick-guide.md
patch
|
blob
|
history
diff --git
a/doc/quick-guide.md
b/doc/quick-guide.md
index
a576070
..
6e04ba5
100644
(file)
--- 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,