mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] always update the renderer cursor state
This commit is contained in:
parent
bced5f95ff
commit
7b11ab04c6
2 changed files with 8 additions and 11 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
B1-116-g9d7f773b9c+1
|
B1-117-gbced5f95ff+1
|
|
@ -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 a new issue