mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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
This commit is contained in:
parent
06f894dbcc
commit
0c0d42737d
2 changed files with 8 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue