Commit 89be63f6 authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

Port windowStepUserMovedResized to floating geometry

parent 97fe0613
......@@ -294,7 +294,7 @@ void EffectsHandlerImpl::setupWindowConnections(Window *window)
Q_EMIT windowStartUserMovedResized(window->effectWindow());
connect(window, &Window::clientStepUserMovedResized, this, [this](Window *window, const QRectF &geometry) {
Q_EMIT windowStepUserMovedResized(window->effectWindow(), geometry.toRect());
Q_EMIT windowStepUserMovedResized(window->effectWindow(), geometry);
connect(window, &Window::clientFinishUserMovedResized, this, [this](Window *window) {
Q_EMIT windowFinishUserMovedResized(window->effectWindow());
......@@ -320,7 +320,7 @@ void WobblyWindowsEffect::slotWindowStartUserMovedResized(EffectWindow *w)
void WobblyWindowsEffect::slotWindowStepUserMovedResized(EffectWindow *w, const QRect &geometry)
void WobblyWindowsEffect::slotWindowStepUserMovedResized(EffectWindow *w, const QRectF &geometry)
if (windows.contains(w)) {
......@@ -94,7 +94,7 @@ protected:
public Q_SLOTS:
void slotWindowStartUserMovedResized(KWin::EffectWindow *w);
void slotWindowStepUserMovedResized(KWin::EffectWindow *w, const QRect &geometry);
void slotWindowStepUserMovedResized(KWin::EffectWindow *w, const QRectF &geometry);
void slotWindowFinishUserMovedResized(KWin::EffectWindow *w);
void slotWindowMaximizeStateChanged(KWin::EffectWindow *w, bool horizontal, bool vertical);
......@@ -1576,7 +1576,7 @@ Q_SIGNALS:
* @see EffectWindow::isUserResize
* @since 4.7
void windowStepUserMovedResized(KWin::EffectWindow *w, const QRect &geometry);
void windowStepUserMovedResized(KWin::EffectWindow *w, const QRectF &geometry);
* Signal emitted when the user finishes move/resize of window @p w.
* @param w The window which has been moved/resized
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment