This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
Have Compositor::build_{auto,headless,x11,wayland,drm} actually start the backend #274
Labels
Breaking
Breaking changes
Currently we are deferring it to the
run
method. I'm not sure why we are doing that, but it probably isn't necessary to do this especially because there might be race conditions if we acquire those resources late in compositor startup code.If it shouldn't be done there then we should make another affine type that the
Compositor
builds out to that can enforce manually trying to start the backend only once. (this will mess with the naming a bit, ultimately the final type should beCompositor
so we might want to rename the output of the builder methods).The text was updated successfully, but these errors were encountered: