mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +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 postShape = false;
|
||||
CapturePointer pointer = {0};
|
||||
|
||||
// if the pointer has moved
|
||||
@ -354,7 +353,7 @@ retry:
|
||||
// if the pointer shape has changed
|
||||
if (frameInfo.PointerShapeBufferSize > 0)
|
||||
d12_dd_handlePointerShape(
|
||||
&pointer, frameInfo.PointerShapeBufferSize, &postShape);
|
||||
&pointer, frameInfo.PointerShapeBufferSize, &postPointer);
|
||||
|
||||
if (postPointer)
|
||||
d12_updatePointer(&pointer, this->shapeBuffer, this->shapeBufferSize);
|
||||
|
Loading…
Reference in New Issue
Block a user