[client] always update the renderer cursor state

This commit is contained in:
Geoffrey McRae 2020-01-27 02:11:21 +11:00
parent bced5f95ff
commit 7b11ab04c6
2 changed files with 8 additions and 11 deletions

View File

@ -1 +1 @@
B1-116-g9d7f773b9c+1
B1-117-gbced5f95ff+1

View File

@ -348,16 +348,13 @@ static int cursorThread(void * unused)
lgmpClientMessageDone(queue);
state.updateCursor = false;
if (msg.udata & CURSOR_FLAG_POSITION)
{
state.lgr->on_mouse_event
(
state.lgrData,
state.cursorVisible && state.drawCursor,
state.cursor.x,
state.cursor.y
);
}
state.lgr->on_mouse_event
(
state.lgrData,
state.cursorVisible && state.drawCursor,
state.cursor.x,
state.cursor.y
);
}
lgmpClientUnsubscribe(&queue);