wayland platform: Remember to call setTransformInternal() from updateTransform()

This commit is contained in:
Aleix Pol 2021-09-10 15:26:20 +02:00 committed by Aleix Pol Gonzalez
parent 839710201c
commit 2bd02f660b
2 changed files with 6 additions and 0 deletions

View file

@ -82,6 +82,11 @@ void WaylandOutput::setGeometry(const QPoint &logicalPosition, const QSize &pixe
moveTo(logicalPosition);
}
void WaylandOutput::updateTransform(Transform transform)
{
setTransformInternal(transform);
}
void WaylandOutput::updateEnablement(bool enable)
{
setDpmsMode(enable ? DpmsMode::On : DpmsMode::Off);

View file

@ -72,6 +72,7 @@ public:
}
void updateEnablement(bool enable) override;
void updateTransform(Transform transform) override;
void setDpmsMode(KWin::AbstractWaylandOutput::DpmsMode mode) override;
Q_SIGNALS: