diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2020-11-03 10:23:50 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2020-11-03 10:23:50 +0000 |
commit | 59078c3f20ab76fce3358c2a101d3c7d0584935a (patch) | |
tree | 34519dbe6125b1b0872227083c96d4716468c8d7 | |
parent | 925a76bcba81bfc99a099a468884ec6e85950c00 (diff) | |
download | netsurf-59078c3f20ab76fce3358c2a101d3c7d0584935a.tar.gz netsurf-59078c3f20ab76fce3358c2a101d3c7d0584935a.tar.bz2 |
risc os: URL bar: Fall back to URL drag if OS doesn't have text selection.
-rw-r--r-- | frontends/riscos/gui/url_bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/riscos/gui/url_bar.c b/frontends/riscos/gui/url_bar.c index 63193a43f..ec21e9371 100644 --- a/frontends/riscos/gui/url_bar.c +++ b/frontends/riscos/gui/url_bar.c @@ -984,7 +984,7 @@ ro_gui_url_bar_click(struct url_bar *url_bar, */ if (pointer->buttons == wimp_DRAG_SELECT || pointer->buttons == wimp_DRAG_ADJUST) { - if (ns_wimp_has_text_selection()) { + if (!ns_wimp_has_text_selection()) { if (pointer->i == url_bar->text.icon) { if (action != NULL) { *action = TOOLBAR_URL_DRAG_URL; |