Encapsulate setDesktopSize() in VNCServerST
More encapsulation of functions that require coordinate between
clients.
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index eff52d0..54443e1 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -125,6 +125,10 @@
void pointerEvent(VNCSConnectionST* client, const Point& pos, int buttonMask);
void clientCutText(const char* str, int len);
+ unsigned int setDesktopSize(VNCSConnectionST* requester,
+ int fb_width, int fb_height,
+ const ScreenSet& layout);
+
// closeClients() closes all RFB sessions, except the specified one (if
// any), and logs the specified reason for closure.
void closeClients(const char* reason, network::Socket* sock);
@@ -204,8 +208,6 @@
Region getPendingRegion();
const RenderedCursor* getRenderedCursor();
- void notifyScreenLayoutChange(VNCSConnectionST *requester);
-
bool getComparerState();
KeyRemapper* keyRemapper;