diff --git a/src/wayland/surface_interface.h b/src/wayland/surface_interface.h index d642c3a527..086b2011a5 100644 --- a/src/wayland/surface_interface.h +++ b/src/wayland/surface_interface.h @@ -146,6 +146,13 @@ public: QRegion input() const; bool inputIsInfinite() const; qint32 bufferScale() const; + /** + * Returns the buffer transform that had been applied to the buffer to compensate for + * output rotation. + * + * If the surface is on an output that is rotated 90 degrees clockwise, the buffer will + * be rotated 90 degrees counter clockwise. + */ OutputInterface::Transform bufferTransform() const; /** * @returns the current BufferInterface, might be @c nullptr.