libkwineffects: Drop EffectsHandler::windowGeometryShapeChanged

It's very X11-specific and it's unused.
This commit is contained in:
Vlad Zahorodnii 2023-06-01 21:37:09 +03:00
parent 9a28ede4e6
commit d22cc67df9
2 changed files with 0 additions and 18 deletions

View file

@ -307,13 +307,6 @@ void EffectsHandlerImpl::setupWindowConnections(Window *window)
}
});
connect(window, &Window::modalChanged, this, &EffectsHandlerImpl::slotClientModalityChanged);
connect(window, &Window::geometryShapeChanged, this, [this, window](const QRectF &old) {
// during late cleanup effectWindow() may be already NULL
// in some functions that may still call this
if (window->effectWindow()) {
Q_EMIT windowGeometryShapeChanged(window->effectWindow(), old);;
}
});
connect(window, &Window::frameGeometryChanged, this, [this, window](const QRectF &oldGeometry) {
// effectWindow() might be nullptr during tear down of the client.
if (window->effectWindow()) {

View file

@ -1577,17 +1577,6 @@ Q_SIGNALS:
*/
void windowMaximizedStateAboutToChange(KWin::EffectWindow *w, bool horizontal, bool vertical);
/**
* Signal emitted when the geometry or shape of a window changed.
* This is caused if the window changes geometry without user interaction.
* E.g. the decoration is changed. This is in opposite to windowUserMovedResized
* which is caused by direct user interaction.
* @param w The window whose geometry changed
* @param old The previous geometry
* @see windowUserMovedResized
* @since 4.7
*/
void windowGeometryShapeChanged(KWin::EffectWindow *w, const QRectF &old);
/**
* This signal is emitted when the frame geometry of a window changed.
* @param window The window whose geometry changed