aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncviewer/DesktopWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/vncviewer/DesktopWindow.h')
-rw-r--r--win/vncviewer/DesktopWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/vncviewer/DesktopWindow.h b/win/vncviewer/DesktopWindow.h
index c24b0ced..8e82083e 100644
--- a/win/vncviewer/DesktopWindow.h
+++ b/win/vncviewer/DesktopWindow.h
@@ -88,6 +88,7 @@ namespace rfb {
}
bool isAutoScaling() const { return autoScaling; }
void setDesktopScale(int scale);
+ int getDesktopScale() const { return buffer->getScale(); }
void fitBufferToWindow(bool repaint = true);
// - Set the cursor to render when the pointer is within the desktop buffer