[client] all: don't trigger cursor redraws if the cursor is not visible

This commit is contained in:
Geoffrey McRae 2021-01-28 08:58:59 +11:00
parent 6b5842d2ff
commit b76fedeb67

View File

@ -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);
}