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

View file

@ -173,6 +173,8 @@ WaylandIntegration::WaylandIntegration()
_private->plasmaShell.init(nullptr);
free(_private->registry.release());
}, _private->lifetime);
wl_display_roundtrip(display);
}
WaylandIntegration::~WaylandIntegration() = default;

@ -1 +1 @@
Subproject commit 4560884973dd855d9d06f0a9c09f5156e5a06dde
Subproject commit 1cc6aba584869df04341467cf7c5f72c8354086f

@ -1 +1 @@
Subproject commit 3752e158e43a7aa8ca7641017de1abca01270fc6
Subproject commit 3f28dfa821a85debe162c39ab64d1967f6029126