diff --git a/effects.h b/effects.h index c3a720d9de..666447006b 100644 --- a/effects.h +++ b/effects.h @@ -84,6 +84,7 @@ class EffectsHandlerImpl : public EffectsHandler virtual int desktopDown( int desktop, bool wrap ) const; virtual Window createInputWindow( Effect* e, int x, int y, int w, int h, const QCursor& cursor ); + using EffectsHandler::createInputWindow; virtual void destroyInputWindow( Window w ); virtual bool checkInputWindowEvent( XEvent* e ); virtual void checkInputWindowStacking(); diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 8de0e9448f..7f1e46d821 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -323,7 +323,7 @@ class KWIN_EXPORT EffectsHandler // covering the whole screen is created and all mouse events will be intercepted by it. // The effect's windowInputMouseEvent() will get called with such events. virtual Window createInputWindow( Effect* e, int x, int y, int w, int h, const QCursor& cursor ) = 0; - virtual Window createInputWindow( Effect* e, const QRect& r, const QCursor& cursor ); + Window createInputWindow( Effect* e, const QRect& r, const QCursor& cursor ); virtual Window createFullScreenInputWindow( Effect* e, const QCursor& cursor ); virtual void destroyInputWindow( Window w ) = 0; virtual QPoint cursorPos() const = 0;