summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2021-10-12 13:21:10 +0100
committerDavid Edmundson <davidedmundson@kde.org>2022-11-08 13:15:52 +0100
commit5ef07e5bd0f9f330ea091e1daa2d0481cfca2727 (patch)
treeedfe8f2f7887687b848712f9bb63aab72c6f24c6
parent8ad758faa489a7bc622e2216f087c3092227d01c (diff)
downloadqtwayland-5ef07e5bd0f9f330ea091e1daa2d0481cfca2727.tar.gz
Remove uneeded forceRoundTrip on XdgOutputManager
In the first rountrip we will get all wl_outputs and the xdg_output_manager. Therefore we know we will have called wl_output.bind and xdg_output_manager_get_output by the time we hit the second roundtrip on startup. Change-Id: I69f911c13f9bcdfb59b04eceea4bcca778e7755c Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-rw-r--r--src/client/qwaylanddisplay.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/qwaylanddisplay.cpp b/src/client/qwaylanddisplay.cpp
index ca5669ad..18eb71c3 100644
--- a/src/client/qwaylanddisplay.cpp
+++ b/src/client/qwaylanddisplay.cpp
@@ -597,7 +597,6 @@ void QWaylandDisplay::registry_global(uint32_t id, const QString &interface, uin
mXdgOutputManager.reset(new QWaylandXdgOutputManagerV1(this, id, version));
for (auto *screen : std::as_const(mWaitingScreens))
screen->initXdgOutput(xdgOutputManager());
- forceRoundTrip();
}
mGlobals.append(RegistryGlobal(id, interface, version, registry));