Commit e1d9cbf65c6ddb089f5d83defcf301245f1b7a4d

Ivan Epifanov 2021-03-07T13:56:38

Split mouse/kb grab

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/vita/SDL_vitavideo.c b/src/video/vita/SDL_vitavideo.c
index ba9184c..32172d1 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;