mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-13 22:23:45 +00:00
nitpicker: fix find_view w/o pointer present
Before the pointer handling was removed from the nitpicker server, the pointer was always the first view, which was skipped in the find_view function. However, since we support pointer-less operation by now, we have to consider all views starting with the top-most one.
This commit is contained in:
parent
e6dc43e6f6
commit
3745869106
@ -297,8 +297,7 @@ void View_stack::title(View &view, const char *title)
|
||||
|
||||
View *View_stack::find_view(Point p)
|
||||
{
|
||||
/* skip mouse cursor */
|
||||
View *view = _next_view(*_first_view());
|
||||
View *view = _first_view();
|
||||
|
||||
for ( ; view; view = _next_view(*view))
|
||||
if (view->input_response_at(p, _mode))
|
||||
|
Loading…
x
Reference in New Issue
Block a user