Repository navigation
Keep fullscreen windows from taking the keyboard back - #13688
shawnyeager wants to merge 3 commits into
Conversation
A fullscreen window that re-activates, or that inhibits shortcuts, takes the keyboard back the moment the menu or an OSD opens, and the overlay closes. Fullscreen windows no longer take focus on activate, and the launcher, volume, and brightness keys are not inhibited.
This reverts commit f641099.
A fullscreen client re-activates when an overlay opens, and it inhibits the keys that open the menu and the volume and brightness OSDs.
|
Thanks for this. A few things before it can go in:
|
|
Reviewed at 9fc140a. As pushed, this conflicts with What it showed:
The smaller fix is on the binding side. Hyprland's
Nothing has been pushed to your branch, because the change suggested here replaces the approach rather than fixing a line of it. Waiting on you: a rebase onto |
Problem
A fullscreen client asks for focus the moment the menu or an OSD takes the keyboard, and Omarchy grants that request. The same client inhibits shortcuts, so the volume and brightness keys never arrive.
Fix
One window rule in
default/hypr/windows.lua. While a window is fullscreen it does not receive focus just because it asks, and it cannot inhibit shortcuts.Testing
The rule uses the same
focus_on_activateproperty already set for Telegram, plusno_shortcuts_inhibit. I did not open overlays on the running session.