aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-11-16 16:40:44 +0100
committerPierre Ossman <ossman@cendio.se>2017-11-17 08:06:30 +0100
commit25db44a164e9dfb76b65e8b5540abef4668596df (patch)
treebd3bb1c6fcf5fb1d9433109beba4348ee7f99570 /common/rfb/VNCSConnectionST.h
parent33d7832b19e8b8eb7e482ada89fe038f91082e04 (diff)
downloadtigervnc-25db44a164e9dfb76b65e8b5540abef4668596df.tar.gz
tigervnc-25db44a164e9dfb76b65e8b5540abef4668596df.zip
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.
Diffstat (limited to 'common/rfb/VNCSConnectionST.h')
-rw-r--r--common/rfb/VNCSConnectionST.h1
1 files changed, 1 insertions, 0 deletions
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;