Hinting over an element with no url or source is not an error
authorMaxime Coste <mawww@kakoune.org>
Fri, 5 Jun 2020 03:02:03 +0000 (13:02 +1000)
committerMaxime Coste <mawww@kakoune.org>
Fri, 5 Jun 2020 03:02:03 +0000 (13:02 +1000)
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.

src/hints.c

index 41917ca..b886e57 100644 (file)
@@ -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);