diff --git a/wayland_server.cpp b/wayland_server.cpp index fbf54a9d09..e549dab0df 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -513,9 +513,4 @@ bool WaylandServer::isScreenLocked() const ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::AcquiringLock; } -AbstractBackend *WaylandServer::backend() const -{ - return kwinApp()->platform(); -} - } diff --git a/wayland_server.h b/wayland_server.h index 531b72e821..5f19184628 100644 --- a/wayland_server.h +++ b/wayland_server.h @@ -58,7 +58,6 @@ namespace KWin { class ShellClient; -class AbstractBackend; class AbstractClient; class KWIN_EXPORT WaylandServer : public QObject @@ -106,8 +105,6 @@ public: ShellClient *findClient(KWayland::Server::SurfaceInterface *surface) const; ShellClient *findClient(QWindow *w) const; - AbstractBackend *backend() const; - /** * @returns file descriptor for Xwayland to connect to. **/