From 4bc6d69fc0fbfc3de5fb84874985a26deb79fdb5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 13 Nov 2026 16:39:49 +0100 Subject: fix(windows): no peek for a dialog A transient dialog brought the Windows tab forward like any new window. Hyprland's clients JSON has no parent field, so a window counts as a dialog when it floats and its pid already has another window; peek() skips those. They are still listed in the grid. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index c577643..b88fcd5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -105,7 +105,8 @@ Keep the server dependency-free apart from that one package. - A panel may export `peek(state)`; when it returns seconds > 0 `app.js` shows that tab that long and then goes back, unless the page is touched or the tab changed meanwhile. `windows.js` peeks on a window id the last poll - lacked, for `[windows] peek` seconds (0 off). + lacked, for `[windows] peek` seconds (0 off), unless it is a dialog + (floating, its pid already has a window; Hyprland gives no parent). - `music` drives any MPRIS player through `playerctl` (playerctld picks the last active one). A `data:` cover, or a local video with no cover (Haruna sends none), is served at `/api/music/image/`, a video as an `ffmpeg` -- cgit v1.2.3