From f9dfb1114488b5b6f1a4b9d5b1bf5d7a66dbe15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 27 Feb 2014 12:02:51 +0100 Subject: [PATCH] [kwin] Drop EffectsHandlerImpl::displayWidth and EffectsHandlerImpl::displayHeight Unused code. --- effects.cpp | 10 ---------- effects.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/effects.cpp b/effects.cpp index f593fc110a..f7c80a7a15 100644 --- a/effects.cpp +++ b/effects.cpp @@ -1077,16 +1077,6 @@ WindowQuadType EffectsHandlerImpl::newWindowQuadType() return WindowQuadType(next_window_quad_type++); } -int EffectsHandlerImpl::displayWidth() const -{ - return KWin::displayWidth(); -} - -int EffectsHandlerImpl::displayHeight() const -{ - return KWin::displayHeight(); -} - EffectWindow* EffectsHandlerImpl::findWindow(WId id) const { if (Client* w = Workspace::self()->findClient(WindowMatchPredicate(id))) diff --git a/effects.h b/effects.h index 9c4314f5fa..4d0b45c208 100644 --- a/effects.h +++ b/effects.h @@ -111,8 +111,6 @@ public: QString desktopName(int desktop) const override; bool optionRollOverDesktops() const override; - virtual int displayWidth() const; - virtual int displayHeight() const; QPoint cursorPos() const override; bool grabKeyboard(Effect* effect) override; void ungrabKeyboard() override;