mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
[client] always update the renderer cursor state
This commit is contained in:
parent
bced5f95ff
commit
7b11ab04c6
@ -348,16 +348,13 @@ 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.cursorVisible && state.drawCursor,
|
||||||
state.lgrData,
|
state.cursor.x,
|
||||||
state.cursorVisible && state.drawCursor,
|
state.cursor.y
|
||||||
state.cursor.x,
|
);
|
||||||
state.cursor.y
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
lgmpClientUnsubscribe(&queue);
|
lgmpClientUnsubscribe(&queue);
|
||||||
|
Loading…
Reference in New Issue
Block a user