sculpt: don't mark in-construction pkgs as present

This patch excludes the current "Construction" from the list of
"present" components in the runtime. Without the patch, a missing "wm"
would go unmissing once when the routing dialog of a new wm instance
appears. Now an already present window layouter that had a broken route
would prematurely re-appear in the config, which should not happen
because the new wm does not exist yet.
This commit is contained in:
Norman Feske 2019-03-04 10:49:26 +01:00
parent 1cc3472e1d
commit c41fbe9ea5

View File

@ -216,7 +216,7 @@ class Sculpt::Runtime_state : public Runtime_info
result = true; });
_launched_children.for_each([&] (Launched_child const &child) {
if (!result && child.name == name)
if (!result && child.name == name && child.launched)
result = true; });
return result;