mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 23:07:04 +00:00
[c-host] dxgi: fix failure to provide cursor visibility information
This commit is contained in:
parent
4acf800ace
commit
e2adbaa5c1
@ -724,9 +724,7 @@ static CaptureResult dxgi_capture()
|
|||||||
frameInfo.PointerPosition.Position.y;
|
frameInfo.PointerPosition.Position.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
pointer.visible =
|
this->lastPointerVisible = frameInfo.PointerPosition.Visible;
|
||||||
this->lastPointerVisible =
|
|
||||||
frameInfo.PointerPosition.Visible;
|
|
||||||
postPointer = true;
|
postPointer = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -768,7 +766,10 @@ static CaptureResult dxgi_capture()
|
|||||||
|
|
||||||
// post back the pointer information
|
// post back the pointer information
|
||||||
if (postPointer)
|
if (postPointer)
|
||||||
|
{
|
||||||
|
pointer.visible = this->lastPointerVisible;
|
||||||
this->postPointerBufferFn(pointer);
|
this->postPointerBufferFn(pointer);
|
||||||
|
}
|
||||||
|
|
||||||
return CAPTURE_RESULT_OK;
|
return CAPTURE_RESULT_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user