Skip to content
  • Marco Trevisan's avatar
    workspace: Focus only ancestors that are focusable · 225d1876
    Marco Trevisan authored
    When destroying a window that has a parent, we initially try to focus one of
    its ancestors. However if no ancestor can be focused, then we should instead
    focus the default focus window instead of trying to request focus for a window
    that can't get focus anyways.
    
    Fixes #308
    (cherry picked from commit eccc791f)
    225d1876