mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
sculpt_manager: handle manual fb config w/o mirror
config node gracefully. If no mirror is set, ever claim one entry as the mirrored one. Without this change, the current effect is that the UI does not allow to merge one of the discrete modes. Issue #5392
This commit is contained in:
parent
e520dbbb7e
commit
ba013af1a3
@ -192,6 +192,10 @@ struct Sculpt::Fb_config
|
||||
|
||||
/* import discrete nodes */
|
||||
add_connectors(config);
|
||||
|
||||
/* handle case that manual config contains solely discrete items */
|
||||
if (count && !_num_merged)
|
||||
_num_merged = 1;
|
||||
}
|
||||
|
||||
void apply_connectors(Fb_connectors const &connectors)
|
||||
|
Loading…
Reference in New Issue
Block a user