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:
ca12d2f
)
Fixed a minor bug in error detection in Wayland test
author
Naman Dixit
<ndixit26@gmail.com>
Sat, 27 May 2017 09:15:26 +0000
(09:15 +0000)
committer
GitHub
<noreply@github.com>
Sat, 27 May 2017 09:15:26 +0000
(09:15 +0000)
test/interactive-wayland.c
patch
|
blob
|
history
diff --git
a/test/interactive-wayland.c
b/test/interactive-wayland.c
index
c28fbb6
..
6fd57b8
100644
(file)
--- a/
test/interactive-wayland.c
+++ b/
test/interactive-wayland.c
@@
-345,7
+345,7
@@
kbd_keymap(void *data, struct wl_keyboard *wl_kbd, uint32_t format,
}
seat->state = xkb_state_new(seat->keymap);
- if (!seat->
keymap
) {
+ if (!seat->
state
) {
fprintf(stderr, "Failed to create XKB state!\n");
return;
}