Skip to content

client: Force a roundtrip when an XdgOutput is not ready yet

Marco Martin requested to merge mart/qtwayland:work/mart/forceRoundTrip into kde/5.15

Is possible that the server sends a surface_enter before all the information of the XdgOutput have been processed by the client. in this case the associated QScreen doesn't exist yet, causing a QWindow::SetScreen(nullptr), which will fall back to QGuiApplication::primaryScreen(), having the QWindow being assigned the wrong screen

Change-Id: I923d5d3a35484deafa6f0572f79c16c27b1f87f0 Reviewed-by: David Edmundson davidedmundson@kde.org

Merge request reports