From a3ac01ef9ce92ca2ddd31a8a647937235e294f6d Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 7 Nov 2011 21:13:54 +0000 Subject: 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 --- win/rfb_win32/SDisplay.cxx | 7 +------ win/rfb_win32/SDisplay.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'win') diff --git a/win/rfb_win32/SDisplay.cxx b/win/rfb_win32/SDisplay.cxx index f14b49f1..05ddce34 100644 --- a/win/rfb_win32/SDisplay.cxx +++ b/win/rfb_win32/SDisplay.cxx @@ -316,11 +316,6 @@ void SDisplay::clientCutText(const char* text, int len) { } -void SDisplay::framebufferUpdateRequest() -{ - SetEvent(updateEvent); -} - Point SDisplay::getFbSize() { bool startAndStop = !core; @@ -382,7 +377,7 @@ SDisplay::processEvent(HANDLE event) { 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 6dbb50a5..6aac59ae 100644 --- a/win/rfb_win32/SDisplay.h +++ b/win/rfb_win32/SDisplay.h @@ -68,7 +68,6 @@ namespace rfb { 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 -- cgit v1.2.3