From e1d9cbf65c6ddb089f5d83defcf301245f1b7a4d Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Sun, 7 Mar 2021 13:56:38 +0300 Subject: [PATCH] Split mouse/kb grab --- src/video/vita/SDL_vitavideo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/vita/SDL_vitavideo.c b/src/video/vita/SDL_vitavideo.c index ba9184c52..32172d167 100644 --- a/src/video/vita/SDL_vitavideo.c +++ b/src/video/vita/SDL_vitavideo.c @@ -118,7 +118,8 @@ VITA_Create() device->MaximizeWindow = VITA_MaximizeWindow; device->MinimizeWindow = VITA_MinimizeWindow; device->RestoreWindow = VITA_RestoreWindow; - device->SetWindowGrab = VITA_SetWindowGrab; + device->SetWindowMouseGrab = VITA_SetWindowGrab; + device->SetWindowKeyboardGrab = VITA_SetWindowGrab; device->DestroyWindow = VITA_DestroyWindow; device->GetWindowWMInfo = VITA_GetWindowWMInfo;