From a8ffb372a2202c65f42fdb69891ea68a2f274b55 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 1 Dec 2016 09:41:17 +0000 Subject: ui: use evdev keymap when running under wayland Wayland always uses evdev as its input source, so QEMU can use the existing evdev keymap data Signed-off-by: Daniel P. Berrange Tested-by: Stefan Hajnoczi Message-id: 20161201094117.16407-1-berrange@redhat.com Signed-off-by: Gerd Hoffmann --- include/ui/gtk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/ui') diff --git a/include/ui/gtk.h b/include/ui/gtk.h index 42ca0fe..b3b5005 100644 --- a/include/ui/gtk.h +++ b/include/ui/gtk.h @@ -18,6 +18,10 @@ #include #endif +#ifdef GDK_WINDOWING_WAYLAND +#include +#endif + #if defined(CONFIG_OPENGL) #include "ui/egl-helpers.h" #include "ui/egl-context.h" -- cgit v1.1