master layout - allow to focus on master window after close slave window #10800
Replies: 1 comment
-
|
promoted #10813 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m currently using the master layout in Hyprland and enjoying the workflow a lot. However, I’ve run into a small usability issue that disrupts my workflow, and I’m wondering if there’s an existing solution — or if this could be considered for a future feature.
Problem:
When I close a non-master (slave) window, Hyprland doesn’t automatically return focus to the master window. Instead, focus sometimes shifts to another non-master window or remains unfocused depending on the layout state.
Why this matters:
In my workflow, I frequently spawn temporary popup or floating windows (dialogs, previews, etc.) while keeping my main work in the master window. After closing these temporary windows, I often have to manually refocus the master window, which interrupts my flow and adds friction to repeated tasks.
This breaks focus consistency and hurts the “flow” of working, especially when switching back and forth quickly between main and temporary windows.
What I’d like:
An option or behavior where:
This would help maintain a predictable focus model, especially for workflows centered around the master window.
Proposal:
Could there be a config option like:
master:focus_on_close = trueOr any dispatch option that helps shift focus back to the master window directly?
I’m curious if others have encountered this, or if there's a better way to handle it. Would appreciate any thoughts or improvements on this idea.
Thanks for the great work on Hyprland!
Beta Was this translation helpful? Give feedback.
All reactions