Fix mouse cursor movement in fullscreen mode

Ported from kichikuou/xsystem35-sdl2@91d30c9.
This commit is contained in:
kichikuou
2021-08-14 13:18:42 +09:00
parent b64e8ed129
commit c58d5b690a
3 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -105,6 +105,6 @@ void NACT::get_cursor(int* x, int* y)
void NACT::set_cursor(int x, int y)
{
ags->translate_mouse_coords(&x, &y);
SDL_WarpMouseInWindow(g_window, x, y);
}