From f9e3113ef8ecd196ce317c8dbb2293a958bb07ec Mon Sep 17 00:00:00 2001 From: QCDLZCLW3K <1329-33c17f40@users.noreply.dev.s-ul.net> Date: Thu, 19 May 2022 20:19:07 +0900 Subject: [PATCH] ddr: Disable cursor during fullscreen --- src/main/ddrhook-util/gfx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/ddrhook-util/gfx.c b/src/main/ddrhook-util/gfx.c index 1a93c35..346aa39 100644 --- a/src/main/ddrhook-util/gfx.c +++ b/src/main/ddrhook-util/gfx.c @@ -225,6 +225,9 @@ static void gfx_d3d9_create_device_apply_window_mode( if (gfx_get_windowed()) { pp->Windowed = TRUE; pp->FullScreen_RefreshRateInHz = 0; + } else if (pp->Windowed == FALSE) { + /* 64bit builds show the cursor even during fullscreen */ + ShowCursor(FALSE); } }