From 59078c3f20ab76fce3358c2a101d3c7d0584935a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 3 Nov 2020 10:23:50 +0000 Subject: risc os: URL bar: Fall back to URL drag if OS doesn't have text selection. --- frontends/riscos/gui/url_bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/riscos') 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; -- cgit v1.2.3