From 94f935738235dd8ede26b179c71ee7305b1f71b7 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sun, 7 Apr 2024 17:55:55 -0400 Subject: [PATCH] rehook ShowCursor --- hooklib/cursor.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hooklib/cursor.c b/hooklib/cursor.c index 8c66412..0e727be 100644 --- a/hooklib/cursor.c +++ b/hooklib/cursor.c @@ -25,10 +25,10 @@ static const struct hook_symbol cursor_syms[] = { },*/ { .name = "SetPhysicalCursorPos", .patch = my_SetPhysicalCursorPos - }, /*{ + }, { .name = "ShowCursor", .patch = my_ShowCursor - }*/ + } }; void cursor_hook_init() @@ -56,13 +56,11 @@ static BOOL my_SetPhysicalCursorPos(int x, int y) static int my_ShowCursor(BOOL bShow) { - dprintf("my_ShowCursor Hit!\n"); return 0; } static HCURSOR my_SetCursor(HCURSOR hCursor) { - dprintf("my_SetCursor Hit!\n"); HCURSOR fake_cursor; if ( hCursor )