mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-25 07:49:38 +03:00
risc os: Don't let URL complete start consume URL bar drags.
This commit is contained in:
parent
59078c3f20
commit
de7244a170
@ -1115,18 +1115,20 @@ bool ro_toolbar_click(wimp_pointer *pointer)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Nothing else has handled this, so try passing it to the
|
if (pointer->buttons != wimp_DRAG_SELECT &&
|
||||||
* URL Complete module.
|
pointer->buttons != wimp_DRAG_ADJUST) {
|
||||||
*
|
/* Nothing else has handled this click, so try passing it to
|
||||||
* \TODO -- This should really move into the URL Bar module, as
|
* the URL Complete module.
|
||||||
* URL Complete is really an extension to that.
|
*
|
||||||
*/
|
* \TODO -- This should really move into the URL Bar module, as
|
||||||
|
* URL Complete is really an extension to that.
|
||||||
if (toolbar->url != NULL && toolbar->url_display &&
|
*/
|
||||||
ro_gui_url_bar_test_for_text_field_click(toolbar->url,
|
if (toolbar->url != NULL && toolbar->url_display &&
|
||||||
pointer)) {
|
ro_gui_url_bar_test_for_text_field_click(
|
||||||
ro_gui_url_complete_start(toolbar);
|
toolbar->url, pointer)) {
|
||||||
return true;
|
ro_gui_url_complete_start(toolbar);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user