Revert the launcher focus-grab fix attempts
None of them worked. quickshell.nix is back to a8eb767 apart from the
hidden-directory search change, which was a separate request and does
work. Removed: the toggle/grab/compositor-event logging, the grab re-arm,
and the full-screen input mask with its click catcher.
Kept the Battle.net window rule's class match (steam_app_0 was stale, and
the tray-icon rule below it needs the widened match), but its comment no
longer claims to fix the launcher.
Recorded the diagnosis at the focus grab so this doesn't get re-derived:
Hyprland's mouseMoveUnified() destroys the seat grab on any refocus()
while the cursor is over a surface the grab doesn't own, and every window
map/unmap calls refocus(). No user input involved, nothing to suppress.
This commit is contained in:
parent
59c1b10334
commit
dcfc7f9573
2 changed files with 45 additions and 165 deletions
|
|
@ -287,22 +287,20 @@ in
|
|||
suppress_event = "fullscreen maximize",
|
||||
})
|
||||
|
||||
-- Battle.net spams window-activation events for as long as it is
|
||||
-- running. Each one clears quickshell's focus grab, which closes the
|
||||
-- launcher / power menu exactly like a click-outside would — so with
|
||||
-- Battle.net open, Super+R appears to do nothing at all: the panel
|
||||
-- opens and is killed within the same frame. Drop those events.
|
||||
--
|
||||
-- Matched on class, not title: a title-scoped rule would have to be
|
||||
-- re-evaluated after the CEF window sets its title, and this needs to
|
||||
-- hold from map onwards. It also catches the launcher's login and
|
||||
-- update windows, which are the same class under other titles.
|
||||
-- Battle.net requests activation on its own while running, which
|
||||
-- steals focus. Drop those events.
|
||||
--
|
||||
-- Non-Steam shortcuts have been BOTH steam_app_0 and
|
||||
-- steam_app_default across Steam versions (this rule matched only
|
||||
-- steam_app_0, and silently stopped applying when Battle.net turned
|
||||
-- up as steam_app_default — that regression is the bug this alt
|
||||
-- fixes). Match either so a Steam update can't break it again.
|
||||
-- steam_app_default across Steam versions, and this rule matched only
|
||||
-- steam_app_0, so it silently stopped applying when Battle.net turned
|
||||
-- up as steam_app_default. Match either.
|
||||
--
|
||||
-- Does NOT fix the launcher dying while Battle.net runs. That is
|
||||
-- Hyprland destroying quickshell's seat grab from inside
|
||||
-- mouseMoveUnified() whenever it refocuses with the cursor over a
|
||||
-- surface the grab doesn't own — no activation request involved, so
|
||||
-- there is nothing here to suppress. Unsolved; see the note in
|
||||
-- settings/quickshell.nix.
|
||||
--
|
||||
-- WoW shares steam_app_default and so loses self-activation too.
|
||||
-- Harmless: a game window is focused when it maps, which is not an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue