wayland: Emit geometryChanged signal if transform changes

If the output transform changes, the geometry may change as well;
otherwise qpa may not call QWindowSystemInterface::handleScreenGeometryChange()
with the corresponding platform screen.
This commit is contained in:
Vlad Zahorodnii 2021-07-13 12:41:06 +03:00
parent adac3b8646
commit 64f7c03083

View file

@ -270,6 +270,7 @@ void AbstractWaylandOutput::setTransformInternal(Transform transform)
m_transform = transform;
Q_EMIT transformChanged();
Q_EMIT modeChanged();
Q_EMIT geometryChanged();
}
}