diff options
author | Pierre Ossman <ossman@cendio.se> | 2017-09-22 16:43:50 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-09-22 16:43:50 +0200 |
commit | b000ff13275cd9df34494553ba49746a85e63072 (patch) | |
tree | ac8f7e11adc792940e8e12374f324e7b9c044477 /win/rfb_win32/SDisplay.h | |
parent | aceb4e7bf702d5c26bad9e646854d69b68ee4d5a (diff) | |
download | tigervnc-b000ff13275cd9df34494553ba49746a85e63072.tar.gz tigervnc-b000ff13275cd9df34494553ba49746a85e63072.zip |
Get rid of getFbSize()/getDesktopSize() in common
It was only used by WinVNC, so push it there instead.
Diffstat (limited to 'win/rfb_win32/SDisplay.h')
-rw-r--r-- | win/rfb_win32/SDisplay.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/rfb_win32/SDisplay.h b/win/rfb_win32/SDisplay.h index 9892ed99..f36b2b73 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 keysym, rdr::U32 keycode, bool down); virtual void clientCutText(const char* str, int len); - virtual Point getFbSize(); // -=- Clipboard @@ -87,6 +86,10 @@ namespace rfb { void setStatusLocation(bool* status) {statusLocation = status;} + // -=- Used (indirectly) by JavaViewer to get desktop size + + Point getFbSize(); + friend class SDisplayCore; static IntParameter updateMethod; |