diff --git a/effects.cpp b/effects.cpp index 986f7a4802..95f87a61d8 100644 --- a/effects.cpp +++ b/effects.cpp @@ -1184,16 +1184,6 @@ QPoint EffectsHandlerImpl::cursorPos() const return Workspace::self()->cursorPos(); } -void EffectsHandlerImpl::checkElectricBorder(const QPoint &pos, Time time) -{ -#ifdef KWIN_BUILD_SCREENEDGES - Workspace::self()->screenEdge()->check(pos, time); -#else - Q_UNUSED(pos) - Q_UNUSED(time) -#endif -} - void EffectsHandlerImpl::reserveElectricBorder(ElectricBorder border) { #ifdef KWIN_BUILD_SCREENEDGES @@ -1212,15 +1202,6 @@ void EffectsHandlerImpl::unreserveElectricBorder(ElectricBorder border) #endif } -void EffectsHandlerImpl::reserveElectricBorderSwitching(bool reserve, Qt::Orientations o) -{ -#ifdef KWIN_BUILD_SCREENEDGES - Workspace::self()->screenEdge()->reserveDesktopSwitching(reserve, o); -#else - Q_UNUSED(reserve) -#endif -} - unsigned long EffectsHandlerImpl::xrenderBufferPicture() { #ifdef KWIN_HAVE_XRENDER_COMPOSITING diff --git a/effects.h b/effects.h index 8d721fceef..a435cabaf1 100644 --- a/effects.h +++ b/effects.h @@ -140,10 +140,8 @@ public: virtual bool checkInputWindowEvent(XEvent* e); virtual void checkInputWindowStacking(); - virtual void checkElectricBorder(const QPoint &pos, Time time); virtual void reserveElectricBorder(ElectricBorder border); virtual void unreserveElectricBorder(ElectricBorder border); - virtual void reserveElectricBorderSwitching(bool reserve, Qt::Orientations o); virtual unsigned long xrenderBufferPicture(); virtual void reconfigure(); diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h index f4de5d2bc7..365815943d 100644 --- a/libkwineffects/kwineffects.h +++ b/libkwineffects/kwineffects.h @@ -651,10 +651,8 @@ public: virtual void startMousePolling() = 0; virtual void stopMousePolling() = 0; - virtual void checkElectricBorder(const QPoint &pos, Time time) = 0; virtual void reserveElectricBorder(ElectricBorder border) = 0; virtual void unreserveElectricBorder(ElectricBorder border) = 0; - virtual void reserveElectricBorderSwitching(bool reserve, Qt::Orientations o) = 0; // functions that allow controlling windows/desktop virtual void activateWindow(KWin::EffectWindow* c) = 0;