From 85c230457bad9cdea3122dab14ccc570cb53eaca Mon Sep 17 00:00:00 2001 From: rope Date: Thu, 18 Jun 2026 19:24:20 +0100 Subject: [PATCH] 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 --- settings/hyprland.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 4347614..5be3e44 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -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"