diff --git a/shell_client.cpp b/shell_client.cpp index 98754523ed..4821a7f144 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -835,4 +835,11 @@ void ShellClient::doResizeSync() requestGeometry(moveResizeGeometry()); } +QMatrix4x4 ShellClient::inputTransformation() const +{ + QMatrix4x4 m = Toplevel::inputTransformation(); + m.translate(-borderLeft(), -borderTop()); + return m; +} + } diff --git a/shell_client.h b/shell_client.h index 64fb53ebea..9eb6794505 100644 --- a/shell_client.h +++ b/shell_client.h @@ -116,6 +116,8 @@ public: bool hasTransientPlacementHint() const override; QPoint transientPlacementHint() const override; + QMatrix4x4 inputTransformation() const override; + protected: void addDamage(const QRegion &damage) override; bool belongsToSameApplication(const AbstractClient *other, bool active_hack) const override;