mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-02 00:03:32 +00:00
[host] send the correct cursor shape on client connection
This commit is contained in:
parent
bf5481446b
commit
045932ce77
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue