From 64f7c03083f346f007a62592f7d57fe244f6d73a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 13 Jul 2021 12:41:06 +0300 Subject: [PATCH] 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. --- src/abstract_wayland_output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/abstract_wayland_output.cpp b/src/abstract_wayland_output.cpp index 4182dbe2c8..3b7fb74b6e 100644 --- a/src/abstract_wayland_output.cpp +++ b/src/abstract_wayland_output.cpp @@ -270,6 +270,7 @@ void AbstractWaylandOutput::setTransformInternal(Transform transform) m_transform = transform; Q_EMIT transformChanged(); Q_EMIT modeChanged(); + Q_EMIT geometryChanged(); } }