Make sure the mouse and keyboard focus is cleared when a window is hidden
parent
21692bc9a8
commit
a16b241b89
|
@ -343,6 +343,8 @@ void VIVANTE_HideWindow(SDL_VideoDevice *_this, SDL_Window *window)
|
|||
SDL_WindowData *data = window->driverdata;
|
||||
vdkHideWindow(data->native_window);
|
||||
#endif
|
||||
SDL_SetMouseFocus(NULL);
|
||||
SDL_SetKeyboardFocus(NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue