diff --git a/src/libkwineffects/kwineffects.cpp b/src/libkwineffects/kwineffects.cpp index ddf2674c40..61659289b6 100644 --- a/src/libkwineffects/kwineffects.cpp +++ b/src/libkwineffects/kwineffects.cpp @@ -1033,7 +1033,7 @@ void RenderGeometry::appendWindowVertex(const WindowVertex &windowVertex, qreal GLVertex2D glVertex; switch (m_vertexSnappingMode) { case VertexSnappingMode::None: - glVertex.position = QVector2D(windowVertex.x(), windowVertex.y() * deviceScale); + glVertex.position = QVector2D(windowVertex.x(), windowVertex.y()) * deviceScale; break; case VertexSnappingMode::Round: glVertex.position = roundVector(QVector2D(windowVertex.x(), windowVertex.y()) * deviceScale);