wayland: register most singletons before starting async work
This commit is contained in:
parent
6ccb555638
commit
f7e77ca94c
2 changed files with 13 additions and 5 deletions
|
|
@ -227,7 +227,7 @@ async fn start_compositor3(state: Rc<State>, test_future: Option<TestFuture>) {
|
|||
}
|
||||
};
|
||||
state.backend.set(backend.clone());
|
||||
state.globals.add_singletons(&backend);
|
||||
state.globals.add_backend_singletons(&backend);
|
||||
|
||||
if backend.import_environment() {
|
||||
if let Some(acc) = state.acceptor.get() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue