diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -1347,8 +1347,8 @@ scale = (area.height() - 20) / double(bounds.height()); // Make bounding rect fill the screen size for later steps bounds = QRect( - bounds.x() - (area.width() - 20 - bounds.width() * scale) / 2 - 10 / scale, - bounds.y() - (area.height() - 20 - bounds.height() * scale) / 2 - 10 / scale, + (bounds.x() * scale - (area.width() - 20 - bounds.width() * scale) / 2 - 10) / scale, + (bounds.y() * scale - (area.height() - 20 - bounds.height() * scale) / 2 - 10) / scale, area.width() / scale, area.height() / scale );