[client] spice: don't grab the keyboard input unless we are focused

This commit is contained in:
Geoffrey McRae
2021-01-08 20:26:32 +11:00
parent f352463d19
commit 59ea957d0d
2 changed files with 21 additions and 13 deletions

View File

@@ -50,6 +50,7 @@ struct AppState
SDL_Point windowPos;
int windowW, windowH;
int windowCX, windowCY;
bool focused;
SDL_Rect border;
SDL_Point srcSize;
LG_RendererRect dstRect;