diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 55a1760..2aeb7fd 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -2956,6 +2956,21 @@ in } } + // Diagnostic for the "launcher opens and dies in the same frame + // while Battle.net runs" bug. Gated on a panel actually being + // open, so this is a handful of lines around each Super+R rather + // than a firehose — the whole point is to see which compositor + // event lands between `launcher toggle -> open` and `focusgrab + // cleared`. Read with `journalctl --user -u quickshell -f -o + // short-precise`; second resolution is too coarse here. + Connections { + target: Hyprland + function onRawEvent(event) { + if (launcherPanel.open || bar.activeDropdown !== null) + console.log("hypr event: " + event.name + " | " + event.data); + } + } + property var activeDropdown: null // Set by the screenshot keybind (via IPC) to hold menus open