Skip to content

Commit

Permalink
Implemented moving the mouse cursor in setmouseactivexy()
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 26, 2021
1 parent bfb572e commit 33638fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 33638fc

Please # to comment.