mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-10 07:30:30 +00:00
Make the video_sdl2 warpmouse output a debug message
(cherry picked from commit 69574d53a9511b64092304f0969a31da4789051a)
This commit is contained in:
parent
c0ceb74931
commit
991496a4f4
@ -2029,7 +2029,7 @@ void video_set_cursor(void)
|
||||
if (cursor_in_window) {
|
||||
int x, y;
|
||||
SDL_GetMouseState(&x, &y);
|
||||
printf("WarpMouse to {%d,%d} via video_set_cursor\n", x, y);
|
||||
D(bug("WarpMouse to {%d,%d} via video_set_cursor\n", x, y));
|
||||
SDL_WarpMouseInWindow(sdl_window, x, y);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user