From b76fedeb67711775cf9fa192e26466fddfd7dd82 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 28 Jan 2021 08:58:59 +1100 Subject: [PATCH] [client] all: don't trigger cursor redraws if the cursor is not visible --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index e90709e4..1e03c3ae 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -506,7 +506,7 @@ static int cursorThread(void * unused) g_cursor.guest.y ); - if (params.mouseRedraw) + if (g_params.mouseRedraw && g_cursor.guest.visible) lgSignalEvent(e_frame); }