diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp index aa8bfcc6fa..a8def39ef1 100644 --- a/xdgshellclient.cpp +++ b/xdgshellclient.cpp @@ -1789,9 +1789,9 @@ void XdgShellClient::doResizeSync() QMatrix4x4 XdgShellClient::inputTransformation() const { - QMatrix4x4 m = Toplevel::inputTransformation(); - m.translate(-borderLeft(), -borderTop()); - return m; + QMatrix4x4 matrix; + matrix.translate(-m_bufferGeometry.x(), -m_bufferGeometry.y()); + return matrix; } void XdgShellClient::installServerSideDecoration(KWayland::Server::ServerSideDecorationInterface *deco)