Clean up the interface for VNCSConnectionST. Entry points are more apparent
and the data flow is now more strictly aimed towards this connection class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4771 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/rfb_win32/SDisplay.cxx b/win/rfb_win32/SDisplay.cxx
index f14b49f..05ddce3 100644
--- a/win/rfb_win32/SDisplay.cxx
+++ b/win/rfb_win32/SDisplay.cxx
@@ -316,11 +316,6 @@
}
-void SDisplay::framebufferUpdateRequest()
-{
- SetEvent(updateEvent);
-}
-
Point SDisplay::getFbSize() {
bool startAndStop = !core;
@@ -382,7 +377,7 @@
inputs->blockInputs(disableLocalInputs);
// - Only process updates if the server is ready
- if (server && server->clientsReadyForUpdate()) {
+ if (server) {
bool try_update = false;
// - Check that the SDesktop doesn't need restarting
diff --git a/win/rfb_win32/SDisplay.h b/win/rfb_win32/SDisplay.h
index 6dbb50a..6aac59a 100644
--- a/win/rfb_win32/SDisplay.h
+++ b/win/rfb_win32/SDisplay.h
@@ -68,7 +68,6 @@
virtual void pointerEvent(const Point& pos, int buttonmask);
virtual void keyEvent(rdr::U32 key, bool down);
virtual void clientCutText(const char* str, int len);
- virtual void framebufferUpdateRequest();
virtual Point getFbSize();
// -=- Clipboard