wayland platform: Remember to call setTransformInternal() from updateTransform()
This commit is contained in:
parent
839710201c
commit
2bd02f660b
2 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,11 @@ void WaylandOutput::setGeometry(const QPoint &logicalPosition, const QSize &pixe
|
||||||
moveTo(logicalPosition);
|
moveTo(logicalPosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void WaylandOutput::updateTransform(Transform transform)
|
||||||
|
{
|
||||||
|
setTransformInternal(transform);
|
||||||
|
}
|
||||||
|
|
||||||
void WaylandOutput::updateEnablement(bool enable)
|
void WaylandOutput::updateEnablement(bool enable)
|
||||||
{
|
{
|
||||||
setDpmsMode(enable ? DpmsMode::On : DpmsMode::Off);
|
setDpmsMode(enable ? DpmsMode::On : DpmsMode::Off);
|
||||||
|
|
|
@ -72,6 +72,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateEnablement(bool enable) override;
|
void updateEnablement(bool enable) override;
|
||||||
|
void updateTransform(Transform transform) override;
|
||||||
void setDpmsMode(KWin::AbstractWaylandOutput::DpmsMode mode) override;
|
void setDpmsMode(KWin::AbstractWaylandOutput::DpmsMode mode) override;
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
|
|
Loading…
Reference in a new issue