From b000ff13275cd9df34494553ba49746a85e63072 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 22 Sep 2017 16:43:50 +0200 Subject: Get rid of getFbSize()/getDesktopSize() in common It was only used by WinVNC, so push it there instead. --- unix/x0vncserver/x0vncserver.cxx | 4 ---- unix/xserver/hw/vnc/XserverDesktop.h | 1 - 2 files changed, 5 deletions(-) (limited to 'unix') 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); -- cgit v1.2.3