• Christian Hergert's avatar
    tab-overview: allow child focus on out animations · 42c04e03
    Christian Hergert authored and Alice Mikhaylenko's avatar Alice Mikhaylenko committed
    Previously, AdwTabOverview could not focus the child until the overview had
    completely animated out. This causes problems for applications because they
    may end up in a state at the end where no widget is grabbed.
    Additionally, to work around this with timeouts to forcefully refocus a
    child after the animation completes will lose input in the mean time. For
    applications that are input heavy (editors, terminals, etc) that can be
    quite frustrating from a keyboard perspective.
    This seeks to avoid that by treating animation in and out differently. This
    allows focusing the child so long as we're on the way out with the
    animation and therefore input is delivered as expected.
    Related #670