[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,8 +348,6 @@ static int cursorThread(void * unused)
lgmpClientMessageDone(queue); lgmpClientMessageDone(queue);
state.updateCursor = false; state.updateCursor = false;
if (msg.udata & CURSOR_FLAG_POSITION)
{
state.lgr->on_mouse_event state.lgr->on_mouse_event
( (
state.lgrData, state.lgrData,
@ -358,7 +356,6 @@ static int cursorThread(void * unused)
state.cursor.y state.cursor.y
); );
} }
}
lgmpClientUnsubscribe(&queue); lgmpClientUnsubscribe(&queue);
state.running = false; state.running = false;