Avoid race condition when registering Wayland interfaces

This commit is contained in:
Ilya Fedin
2022-11-11 08:23:15 +04:00
committed by John Preston
parent 85b94bc6fd
commit 9726b3c298
3 changed files with 4 additions and 2 deletions
@@ -173,6 +173,8 @@ WaylandIntegration::WaylandIntegration()
_private->plasmaShell.init(nullptr);
free(_private->registry.release());
}, _private->lifetime);
wl_display_roundtrip(display);
}
WaylandIntegration::~WaylandIntegration() = default;