Skip to content
Permalink
Browse files

[c-host] dxgi: fix failure to provide cursor visibility information

  • Loading branch information
gnif committed Feb 12, 2020
1 parent 4acf800 commit e2adbaa5c106176605092167e8f1265199b4da4d
Showing with 5 additions and 4 deletions.
  1. +1 −1 VERSION
  2. +4 −3 c-host/platform/Windows/capture/DXGI/src/dxgi.c
@@ -1 +1 @@
B1-155-g7cc305c2f5+1
B1-156-g4acf800ace+1
@@ -724,9 +724,7 @@ static CaptureResult dxgi_capture()
frameInfo.PointerPosition.Position.y;
}

pointer.visible =
this->lastPointerVisible =
frameInfo.PointerPosition.Visible;
this->lastPointerVisible = frameInfo.PointerPosition.Visible;
postPointer = true;
}
}
@@ -768,7 +766,10 @@ static CaptureResult dxgi_capture()

// post back the pointer information
if (postPointer)
{
pointer.visible = this->lastPointerVisible;
this->postPointerBufferFn(pointer);
}

return CAPTURE_RESULT_OK;
}

0 comments on commit e2adbaa

Please sign in to comment.
You can’t perform that action at this time.