diff options
Diffstat (limited to 'common/rfb/ClientParams.cxx')
-rw-r--r-- | common/rfb/ClientParams.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/rfb/ClientParams.cxx b/common/rfb/ClientParams.cxx index 78384073..2f8783bb 100644 --- a/common/rfb/ClientParams.cxx +++ b/common/rfb/ClientParams.cxx @@ -147,6 +147,15 @@ bool ClientParams::supportsLocalCursor() const return false; } +bool ClientParams::supportsDesktopSize() const +{ + if (supportsEncoding(pseudoEncodingExtendedDesktopSize)) + return true; + if (supportsEncoding(pseudoEncodingDesktopSize)) + return true; + return false; +} + bool ClientParams::supportsLEDState() const { if (supportsEncoding(pseudoEncodingLEDState)) |