mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] d12: fix failure to send mouse shape updates
This commit is contained in:
@@ -343,7 +343,6 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool postPointer = false;
|
bool postPointer = false;
|
||||||
bool postShape = false;
|
|
||||||
CapturePointer pointer = {0};
|
CapturePointer pointer = {0};
|
||||||
|
|
||||||
// if the pointer has moved
|
// if the pointer has moved
|
||||||
@@ -354,7 +353,7 @@ retry:
|
|||||||
// if the pointer shape has changed
|
// if the pointer shape has changed
|
||||||
if (frameInfo.PointerShapeBufferSize > 0)
|
if (frameInfo.PointerShapeBufferSize > 0)
|
||||||
d12_dd_handlePointerShape(
|
d12_dd_handlePointerShape(
|
||||||
&pointer, frameInfo.PointerShapeBufferSize, &postShape);
|
&pointer, frameInfo.PointerShapeBufferSize, &postPointer);
|
||||||
|
|
||||||
if (postPointer)
|
if (postPointer)
|
||||||
d12_updatePointer(&pointer, this->shapeBuffer, this->shapeBufferSize);
|
d12_updatePointer(&pointer, this->shapeBuffer, this->shapeBufferSize);
|
||||||
|
Reference in New Issue
Block a user