mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[host] d12: fix failure to send mouse shape updates
This commit is contained in:
parent
cae4b2f4f9
commit
4523b9ba00
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue