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:
Norman Feske 2014-08-25 14:01:27 +02:00
parent e6dc43e6f6
commit 3745869106
1 changed files with 1 additions and 2 deletions

View File

@ -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))