From ecba03d23babb5c8e50ae1a02cf549fa6b0cef63 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 14 Nov 2016 15:02:04 +0100 Subject: gl: Only force a ui redraw when link is clicked, not just highlighted. --- platform/gl/gl-main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'platform/gl') diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 0541f749..46c65262 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -588,9 +588,11 @@ static void do_links(fz_link *link, int xofs, int yofs) if (fz_is_external_link(ctx, link->uri)) open_browser(link->uri); else + { jump_to_page(fz_resolve_link(ctx, doc, link->uri, NULL, NULL)); + ui_needs_update = 1; + } } - ui_needs_update = 1; } link = link->next; -- cgit v1.2.3