diff --git a/src/effects.cpp b/src/effects.cpp index abdc85e6e8..0ba21ee354 100644 --- a/src/effects.cpp +++ b/src/effects.cpp @@ -191,9 +191,6 @@ EffectsHandlerImpl::EffectsHandlerImpl(Compositor *compositor, Scene *scene) connect(Screens::self(), &Screens::countChanged, this, &EffectsHandler::numberScreensChanged); connect(Screens::self(), &Screens::sizeChanged, this, &EffectsHandler::virtualScreenSizeChanged); connect(Screens::self(), &Screens::geometryChanged, this, &EffectsHandler::virtualScreenGeometryChanged); - connect(Screens::self(), &Screens::geometryChanged, this, [this]() { - Q_EMIT screenGeometryChanged(Screens::self()->size()); - }); #ifdef KWIN_BUILD_ACTIVITIES if (Activities *activities = Activities::self()) { connect(activities, &Activities::added, this, &EffectsHandler::activityAdded); diff --git a/src/libkwineffects/kwineffects.h b/src/libkwineffects/kwineffects.h index d2cfa875cd..14225b4a09 100644 --- a/src/libkwineffects/kwineffects.h +++ b/src/libkwineffects/kwineffects.h @@ -1642,15 +1642,6 @@ Q_SIGNALS: */ void propertyNotify(KWin::EffectWindow* w, long atom); - /** - * Signal emitted after the screen geometry changed (e.g. add of a monitor). - * Effects using displayWidth()/displayHeight() to cache information should - * react on this signal and update the caches. - * @param size The new screen size - * @since 4.8 - */ - void screenGeometryChanged(const QSize &size); - /** * This signal is emitted when the global * activity is changed