mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-16 15:29:57 +00:00
nitpicker: disable reports by default
Prior this change, a config update would not disable reports if the report node disappeared during the update.
This commit is contained in:
parent
83705d3c78
commit
a00f9bcf99
@ -1302,13 +1302,17 @@ void Nitpicker::Main::handle_config(unsigned)
|
||||
pointer_reporter.enabled(config()->xml_node().sub_node("report")
|
||||
.attribute("pointer")
|
||||
.has_value("yes"));
|
||||
} catch (...) { }
|
||||
} catch (...) {
|
||||
pointer_reporter.enabled(false);
|
||||
}
|
||||
|
||||
try {
|
||||
focus_reporter.enabled(config()->xml_node().sub_node("report")
|
||||
.attribute("focus")
|
||||
.has_value("yes"));
|
||||
} catch (...) { }
|
||||
} catch (...) {
|
||||
focus_reporter.enabled(false);
|
||||
}
|
||||
|
||||
/* update domain registry and session policies */
|
||||
for (::Session *s = session_list.first(); s; s = s->next())
|
||||
|
Loading…
x
Reference in New Issue
Block a user