From 5c3371d8e7e58fd873699c5309e5a74ed0e9fac4 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 30 Jan 2023 07:51:51 +0100 Subject: Remove InputHandler interface The different uses of this interface are not that closely related and there is no need for them to have a common interface class. --- unix/x0vncserver/XDesktop.cxx | 3 --- unix/x0vncserver/XDesktop.h | 1 - 2 files changed, 4 deletions(-) (limited to 'unix') diff --git a/unix/x0vncserver/XDesktop.cxx b/unix/x0vncserver/XDesktop.cxx index a00f2bc2..24cba0df 100644 --- a/unix/x0vncserver/XDesktop.cxx +++ b/unix/x0vncserver/XDesktop.cxx @@ -600,9 +600,6 @@ void XDesktop::keyEvent(uint32_t keysym, uint32_t xtcode, bool down) { #endif } -void XDesktop::clientCutText(const char* /*str*/) { -} - ScreenSet XDesktop::computeScreenLayout() { ScreenSet layout; diff --git a/unix/x0vncserver/XDesktop.h b/unix/x0vncserver/XDesktop.h index 4d922bf0..e952fba9 100644 --- a/unix/x0vncserver/XDesktop.h +++ b/unix/x0vncserver/XDesktop.h @@ -62,7 +62,6 @@ public: const char* userName) override; void pointerEvent(const rfb::Point& pos, int buttonMask) override; void keyEvent(uint32_t keysym, uint32_t xtcode, bool down) override; - void clientCutText(const char* str) override; unsigned int setScreenLayout(int fb_width, int fb_height, const rfb::ScreenSet& layout) override; -- cgit v1.2.3