[effects/windowgeometry] Fix -Wdeprecated-declarations

This commit is contained in:
Vlad Zahorodnii 2019-09-12 22:19:34 +03:00
parent 356b5c3e2d
commit 2adbcf7b1d

View file

@ -165,7 +165,7 @@ void WindowGeometry::slotWindowStepUserMovedResized(EffectWindow *w, const QRect
QPoint center = geometry.center();
const QRect &r = geometry;
const QRect &r2 = myOriginalGeometry;
const QRect screen = effects->clientArea(ScreenArea, center, w->desktop());
const QRect screen = effects->clientArea(ScreenArea, w);
QRect expandedGeometry = w->expandedGeometry();
expandedGeometry = geometry.adjusted(expandedGeometry.x() - w->x(),
expandedGeometry.y() - w->y(),