diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index 18779a5..fdcf984 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -69,6 +69,8 @@ VNCSConnectionST::VNCSConnectionST(VNCServerST* server_, network::Socket *s, setSocketTimeouts(); lastEventTime = time(0); gettimeofday(&lastRealUpdate, NULL); + gettimeofday(&lastClipboardOp, NULL); + gettimeofday(&lastKeyEvent, NULL); server->clients.push_front(this); }