diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-22 10:28:11 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-05 10:45:44 +0100 |
commit | 0c0d42737dfdcea872a987ecba6ef55047df8881 (patch) | |
tree | 98f814214367d80a80413ac6b41820ea5701ff2e /include/ui | |
parent | 06f894dbcc5a9d4e2e352f2b6df68af0da24d5e7 (diff) |
kbd-state: use state tracker for gtk
Use the new keyboard state tracked for gtk. Allows to drop the
gtk-specific modifier state tracking code.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20190122092814.14919-6-kraxel@redhat.com
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/gtk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/gtk.h b/include/ui/gtk.h index 99edd3c085..d9eedad976 100644 --- a/include/ui/gtk.h +++ b/include/ui/gtk.h @@ -22,6 +22,7 @@ #include <gdk/gdkwayland.h> #endif +#include "ui/kbd-state.h" #if defined(CONFIG_OPENGL) #include "ui/egl-helpers.h" #include "ui/egl-context.h" @@ -32,6 +33,7 @@ typedef struct GtkDisplayState GtkDisplayState; typedef struct VirtualGfxConsole { GtkWidget *drawing_area; DisplayChangeListener dcl; + QKbdState *kbd; DisplaySurface *ds; pixman_image_t *convert; cairo_surface_t *surface; |