mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
phone_manager: ignore AP list hovered temporarily
The access-point-list hovered state prevents preseting the available scan results, which currently can happen unintentionally. This commit hot-wires the hover handling and thus will always show and update the list. New scan results are received every few seconds and it could happen that the list changes while the user selects a network (that's what the original implementation guards against). Issue #5369.
This commit is contained in:
parent
aafd03ee74
commit
2d3170124d
@ -376,10 +376,11 @@ struct Sculpt::Main : Input_event_handler,
|
||||
*/
|
||||
bool ap_list_hovered() const override
|
||||
{
|
||||
return _main_view.if_hovered([&] (Hovered_at const &at) {
|
||||
return _network_widget.if_hovered(at, [&] (Hovered_at const &at) {
|
||||
return _network_widget.hosted.if_hovered(at, [&] (Hovered_at const &at) {
|
||||
return _network_widget.hosted.ap_list_hovered(at); }); }); });
|
||||
/*
|
||||
* For now always report false so that scan-results
|
||||
* will always be presented.
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user