mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
sculpt_manager: query affinity-space immediately
This commit is contained in:
parent
6e2a7e979e
commit
0f70cbd704
@ -1798,6 +1798,14 @@ struct Sculpt::Main : Input_event_handler,
|
|||||||
|
|
||||||
Main(Env &env) : _env(env)
|
Main(Env &env) : _env(env)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
* Read static platform information
|
||||||
|
*/
|
||||||
|
_drivers.with_platform_info([&] (Xml_node const &platform) {
|
||||||
|
platform.with_optional_sub_node("affinity-space", [&] (Xml_node const &node) {
|
||||||
|
_affinity_space = Affinity::Space(node.attribute_value("width", 1U),
|
||||||
|
node.attribute_value("height", 1U)); }); });
|
||||||
|
|
||||||
_drivers.update_soc(_soc);
|
_drivers.update_soc(_soc);
|
||||||
_gui.input.sigh(_input_handler);
|
_gui.input.sigh(_input_handler);
|
||||||
_gui.info_sigh(_gui_mode_handler);
|
_gui.info_sigh(_gui_mode_handler);
|
||||||
@ -1812,14 +1820,6 @@ struct Sculpt::Main : Input_event_handler,
|
|||||||
|
|
||||||
_handle_storage_devices();
|
_handle_storage_devices();
|
||||||
|
|
||||||
/*
|
|
||||||
* Read static platform information
|
|
||||||
*/
|
|
||||||
_drivers.with_platform_info([&] (Xml_node const &platform) {
|
|
||||||
platform.with_optional_sub_node("affinity-space", [&] (Xml_node const &node) {
|
|
||||||
_affinity_space = Affinity::Space(node.attribute_value("width", 1U),
|
|
||||||
node.attribute_value("height", 1U)); }); });
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generate initial config/managed/deploy configuration
|
* Generate initial config/managed/deploy configuration
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user