diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp index 17ac467c5b4..459c7f461ee 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp +++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp @@ -203,6 +203,8 @@ void QWaylandDisplay::registry_global(uint32_t id, const QString &interface, uin if (interface == QStringLiteral("wl_output")) { mScreens.append(new QWaylandScreen(this, id)); + // We need to get the output events before creating surfaces + forceRoundTrip(); } else if (interface == QStringLiteral("wl_compositor")) { mCompositor.init(registry, id); } else if (interface == QStringLiteral("wl_shm")) {