From: Maxime Coste Date: Fri, 5 Jun 2020 03:02:03 +0000 (+1000) Subject: Hinting over an element with no url or source is not an error X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=3d08ccae0a15af1343b60b3ecc1838c1a8dcd7b2;p=vimb.git Hinting over an element with no url or source is not an error focusHint returning "OVER:A:" because the hint element did not have a src or href was treated as an error, and led to the hint keystroke also being passed down to the page. --- diff --git a/src/hints.c b/src/hints.c index 41917ca..b886e57 100644 --- a/src/hints.c +++ b/src/hints.c @@ -328,8 +328,6 @@ static gboolean hint_function_check_result(Client *c, GVariant *return_value) } else { vb_statusbar_show_hover_url(c, LINK_TYPE_LINK, value + 7); } - } else { - goto error; } } else if (!strncmp(value, "DONE:", 5)) { fire_timeout(c, FALSE);