From 550056ab423ec1e3f42ed946dbb51b73a39dd1fc Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Tue, 26 Sep 2017 09:16:43 +0200 Subject: [PATCH] Add debug log for ui_set_cursor() --- xwin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xwin.c b/xwin.c index 67ca561..65a772c 100644 --- a/xwin.c +++ b/xwin.c @@ -3017,6 +3017,9 @@ ui_create_cursor(unsigned int xhot, unsigned int yhot, int width, void ui_set_cursor(RD_HCURSOR cursor) { + logger(GUI, Debug, "ui_set_cursor(): g_current_cursor = %p, new = %p", + g_current_cursor, cursor); + g_current_cursor = (Cursor) cursor; XDefineCursor(g_display, g_wnd, g_current_cursor); ON_ALL_SEAMLESS_WINDOWS(XDefineCursor, (g_display, sw->wnd, g_current_cursor));