summaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgHandler.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-06-20 15:33:22 +0200
committerPierre Ossman <ossman@cendio.se>2018-11-01 16:11:42 +0100
commitdc738ac7545585b12e904f8ebc90327acbc51ddf (patch)
treec6fa7bd95be5cafa13ec0b37407522b390f182b8 /common/rfb/SMsgHandler.cxx
parent5588f4f4820bb822cd221e33a8b4aae4cfeef073 (diff)
downloadtigervnc-dc738ac7545585b12e904f8ebc90327acbc51ddf.tar.gz
tigervnc-dc738ac7545585b12e904f8ebc90327acbc51ddf.zip
Don't update screen layout directly on incoming client request
It needs to be validated and take effect in the server first.
Diffstat (limited to 'common/rfb/SMsgHandler.cxx')
-rw-r--r--common/rfb/SMsgHandler.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/rfb/SMsgHandler.cxx b/common/rfb/SMsgHandler.cxx
index be884333..f952ec2b 100644
--- a/common/rfb/SMsgHandler.cxx
+++ b/common/rfb/SMsgHandler.cxx
@@ -83,10 +83,3 @@ void SMsgHandler::supportsLEDState()
void SMsgHandler::supportsQEMUKeyEvent()
{
}
-
-void SMsgHandler::setDesktopSize(int fb_width, int fb_height,
- const ScreenSet& layout)
-{
- client.setDimensions(fb_width, fb_height, layout);
-}
-