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:
rope 2026-06-18 19:24:20 +01:00
parent 128143bc74
commit 85c230457b

View file

@ -239,6 +239,14 @@ in
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
local mod = "SUPER"