diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-11-07 21:13:54 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-11-07 21:13:54 +0000 |
commit | a3ac01ef9ce92ca2ddd31a8a647937235e294f6d (patch) | |
tree | 6f22f0c1dd96df5391950e41786911490992a695 /win | |
parent | 2aa4b0c49352472baa6c060371497377350a3d43 (diff) | |
download | tigervnc-a3ac01ef9ce92ca2ddd31a8a647937235e294f6d.tar.gz tigervnc-a3ac01ef9ce92ca2ddd31a8a647937235e294f6d.zip |
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
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/SDisplay.cxx | 7 | ||||
-rw-r--r-- | win/rfb_win32/SDisplay.h | 1 |
2 files changed, 1 insertions, 7 deletions
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 |