From 33638fc445f79c11b9ec6d364b711a74a38faa33 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Tue, 26 Jan 2021 17:50:09 +0100 Subject: [PATCH] Implemented moving the mouse cursor in setmouseactivexy() --- src/osdep/amiberry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/amiberry.cpp b/src/osdep/amiberry.cpp index 95b2f8edd..a1782b0eb 100644 --- a/src/osdep/amiberry.cpp +++ b/src/osdep/amiberry.cpp @@ -661,7 +661,7 @@ void setmouseactivexy(int monid, int x, int y, int dir) //} if (mouseactive) { disablecapture(); - //SetCursorPos(x, y); + SDL_WarpMouseInWindow(mon->sdl_window, x, y); if (dir) { recapture = 1; }