ui/xemu: Define {ctrl,alt}_grab

This commit is contained in:
Matt Borgerson 2023-01-23 00:30:40 -07:00
parent 88fd14d26a
commit 8625656510
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ static int sdl2_num_outputs;
static struct sdl2_console *sdl2_console;
static SDL_Surface *guest_sprite_surface;
static int gui_grab; /* if true, all keyboard/mouse events are grabbed */
static bool alt_grab;
static bool ctrl_grab;
static int gui_saved_grab;
static int gui_fullscreen;
static int gui_grab_code = KMOD_LALT | KMOD_LCTRL;