From 991496a4f4801c77dfb6273d560f76f5282ce0e9 Mon Sep 17 00:00:00 2001 From: rakslice Date: Thu, 12 Nov 2020 16:37:06 -0800 Subject: [PATCH] Make the video_sdl2 warpmouse output a debug message (cherry picked from commit 69574d53a9511b64092304f0969a31da4789051a) --- BasiliskII/src/SDL/video_sdl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/SDL/video_sdl2.cpp b/BasiliskII/src/SDL/video_sdl2.cpp index 68ef2aa2..ea90b8fe 100644 --- a/BasiliskII/src/SDL/video_sdl2.cpp +++ b/BasiliskII/src/SDL/video_sdl2.cpp @@ -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); } }