Repository navigation
Conversation
hyprctl activewindow only reports toplevels, so an open layer-shell panel (clock calendar) leaves the prior terminal active and the screensaver never acquires focus. Latch first focus before counting its absence as dismissal (omacom#13265). Co-authored-by: AnPod <AnPod@users.noreply.github.com>
b7338ce to
93b3906
Compare
|
Thanks for the fix. I read it against The change to What I checked in the source applies to both: if the screensaver never gets focus at all, it stays up. While a screensaver window exists, Other open fixes for the same bug: #13475 closes open panels before launch and ignores focus for five seconds; #12258 keeps the latch and adds an input monitor to the idle service; #13784 makes the screensaver fullscreen and focused while a panel holds focus, which complements any of these. Reviewed by Claude Opus 5.5, with a second opinion from Codex Medium. Codex agreed that this and #7102 are the same executable change and named the lock-while-working case above. Its independence is not guaranteed. Asked which of the four to bring forward, it preferred #13475's approach of releasing the panel's focus before the screensaver maps. An earlier Codex review on #7102 preferred #7102 over #13475, so the two models do not settle it between them. |
|
Closing as superseded by the older #7102, which makes the same change. |
Summary
Fixes #13265
With the clock calendar open,
hyprctl activewindownever reported the screensaver (layer-shell), so it dismissed itself after ~1s as a small square.Change
Test plan
Fixes #12225