[PATCH weston] window: fix missed xkb API adaptation

Pekka Paalanen ppaalanen at gmail.com
Mon May 14 06:21:06 PDT 2012


Oddly enough, this failed to build on Android, but not otherwise.

Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
 clients/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/clients/window.c b/clients/window.c
index 63e57f7..8560e7d 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1867,7 +1867,7 @@ input_handle_key(void *data, struct wl_input_device *input_device,
 		if (num_syms == 1)
 			sym = syms[0];
 		else
-			sym = NoSymbol;
+			sym = XKB_KEY_NoSymbol;
 
 		(*window->key_handler)(window, input, time, key,
 				       sym, state, window->user_data);
-- 
1.7.3.4



More information about the wayland-devel mailing list