label: Move focus out of widget after last link
authorJulian Sparber <julian@sparber.net>
Thu, 14 Apr 2022 10:14:17 +0000 (12:14 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Apr 2022 23:25:09 +0000 (19:25 -0400)
commitf915c6bb5c611688f0b7c3ab234d82665e96d0d6
tree89528474224ef1f6037d69c550f03aae4be12912
parent659c1c41deb7c4cf2e936ad638e22491d32d1a2f
label: Move focus out of widget after last link

This allows the user to navigate via tab the links in a label and exits
the widget after the last link, when moving forward, and first link,
when moving backward.

This also ensures that ellipsised links arn't focused.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4681
gtk/gtklabel.c