hyprland: suppress battle.net activation events that close the launcher
Battle.net (non-Steam shortcut, class steam_app_0) spams window-activation events that clear quickshell's HyprlandFocusGrab, instantly closing the launcher / power menu. suppress_event activate activatefocus drops them. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
128143bc74
commit
85c230457b
1 changed files with 8 additions and 0 deletions
|
|
@ -239,6 +239,14 @@ in
|
||||||
tile = true,
|
tile = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Battle.net (a non-Steam shortcut, so class steam_app_0) spams
|
||||||
|
-- window-activation events that clear quickshell's focus grab and
|
||||||
|
-- instantly close the launcher / power menu. Drop those events.
|
||||||
|
hl.window_rule({
|
||||||
|
match = { class = "steam_app_0" },
|
||||||
|
suppress_event = "activate activatefocus",
|
||||||
|
})
|
||||||
|
|
||||||
-- Binds
|
-- Binds
|
||||||
local mod = "SUPER"
|
local mod = "SUPER"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue