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 /unix | |
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 'unix')
-rw-r--r-- | unix/x0vncserver/x0vncserver.cxx | 4 | ||||
-rw-r--r-- | unix/xserver/hw/vnc/XserverDesktop.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx index b9d717f0..6fd6bc3b 100644 --- a/unix/x0vncserver/x0vncserver.cxx +++ b/unix/x0vncserver/x0vncserver.cxx @@ -427,10 +427,6 @@ public: virtual void clientCutText(const char* str, int len) { } - virtual Point getFbSize() { - return Point(pb->width(), pb->height()); - } - // -=- TXGlobalEventHandler interface virtual bool handleGlobalEvent(XEvent* ev) { diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h index 7f7823a7..9e7dfd1e 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.h +++ b/unix/xserver/hw/vnc/XserverDesktop.h @@ -91,7 +91,6 @@ public: virtual void pointerEvent(const rfb::Point& pos, int buttonMask); virtual void keyEvent(rdr::U32 keysym, rdr::U32 keycode, bool down); virtual void clientCutText(const char* str, int len); - virtual rfb::Point getFbSize() { return rfb::Point(width(), height()); } virtual unsigned int setScreenLayout(int fb_width, int fb_height, const rfb::ScreenSet& layout); |