[client] allow mouse movements to trigger render updates

Now EGL is lockless we can allow cursor updates to trigger frame updates
directly.
This commit is contained in:
Geoffrey McRae 2020-05-22 18:00:18 +10:00
parent 075c82b32c
commit 88dad36449
2 changed files with 4 additions and 1 deletions

View file

@ -1 +1 @@
B2-rc1-0-gae2ffd0a28+1
B2-rc1-1-g075c82b32c+1

View file

@ -350,6 +350,8 @@ static int cursorThread(void * unused)
state.cursor.x,
state.cursor.y
);
lgSignalEvent(e_frame);
}
lgmpClientUnsubscribe(&queue);
@ -458,6 +460,7 @@ static int frameThread(void * unused)
}
lgmpClientMessageDone(queue);
++state.frameCount;
lgSignalEvent(e_frame);
}