mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[host] d12: fix failure to send mouse shape updates
This commit is contained in:
parent
cae4b2f4f9
commit
4523b9ba00
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user