Skip to content

Focus stays on floating layer after a floating window is closed #3097

@ArijanJ

Description

@ArijanJ

When you close a floating window, the focus stays on the floating layer rather than going back to the previous window.

This is annoying if you have a confirmation/auth/zenity popup, as closing the popup will move your focus to another floating window (e.g., floating picture in picture video) even if that was not your intention.

It should ideally go back to the last focused window instead, whether it was tiling or floating.

System Information

  • niri version: niri 25.11 (b35bcae)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions