mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-30 19:07:59 +03:00
Fix mouse cursor movement in fullscreen mode
Ported from kichikuou/xsystem35-sdl2@91d30c9.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user