mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-31 11:33:38 +00:00
[all] fix missing cursor when client reconnects
This commit is contained in:
parent
b31e8e1cee
commit
3d426ccef8
6 changed files with 70 additions and 32 deletions
|
@ -806,11 +806,8 @@ static CaptureResult dxgi_getPointer(CapturePointer * pointer)
|
|||
assert(this);
|
||||
assert(this->initialized);
|
||||
|
||||
if (!os_waitEvent(this->pointerEvent, TIMEOUT_INFINITE))
|
||||
{
|
||||
DEBUG_ERROR("Failed to wait on the pointer event");
|
||||
return CAPTURE_RESULT_ERROR;
|
||||
}
|
||||
if (!os_waitEvent(this->pointerEvent, 1000))
|
||||
return CAPTURE_RESULT_TIMEOUT;
|
||||
|
||||
if (this->stop)
|
||||
return CAPTURE_RESULT_REINIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue