From 4523b9ba002074e5248efeb4662dedba936b6da2 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 31 Jan 2024 05:28:03 +1100 Subject: [PATCH] [host] d12: fix failure to send mouse shape updates --- host/platform/Windows/capture/D12/backend/dd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/host/platform/Windows/capture/D12/backend/dd.c b/host/platform/Windows/capture/D12/backend/dd.c index 672588de..397cc7e6 100644 --- a/host/platform/Windows/capture/D12/backend/dd.c +++ b/host/platform/Windows/capture/D12/backend/dd.c @@ -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);