mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[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:
parent
075c82b32c
commit
88dad36449
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user