From 25db44a164e9dfb76b65e8b5540abef4668596df Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 16 Nov 2017 16:40:44 +0100 Subject: Fix for initial client side cursor Improve the tracking of what cursor we've sent to the client to make sure the initial cursor is sent properly. We previously tried to infer this information based on if we've rendered a server side cursor or not. This logic broke down if things triggered before we've sent the first update to the client. --- common/rfb/VNCSConnectionST.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/rfb/VNCSConnectionST.h') diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h index 42eb85ad..8d6a7bc6 100644 --- a/common/rfb/VNCSConnectionST.h +++ b/common/rfb/VNCSConnectionST.h @@ -215,6 +215,7 @@ namespace rfb { time_t lastEventTime; time_t pointerEventTime; Point pointerEventPos; + bool clientHasCursor; AccessRights accessRights; -- cgit v1.2.3