mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 16:46:28 +00:00
[host] send the correct cursor shape on client connection
This commit is contained in:
parent
bf5481446b
commit
045932ce77
@ -285,10 +285,9 @@ bool captureGetPointerBuffer(void ** data, uint32_t * size)
|
|||||||
static void sendPointer(bool newClient)
|
static void sendPointer(bool newClient)
|
||||||
{
|
{
|
||||||
PLGMPMemory mem;
|
PLGMPMemory mem;
|
||||||
|
|
||||||
if (app.pointerInfo.shapeUpdate || newClient)
|
if (app.pointerInfo.shapeUpdate || newClient)
|
||||||
{
|
{
|
||||||
if (app.pointerInfo.shapeUpdate)
|
if (!newClient)
|
||||||
{
|
{
|
||||||
// swap the latest shape buffer out of rotation
|
// swap the latest shape buffer out of rotation
|
||||||
PLGMPMemory tmp = app.pointerShape;
|
PLGMPMemory tmp = app.pointerShape;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user