Make show desktop a cycle and ignore hidden zooms in window_zoomed_flag.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Michael Grant
2026-10-01 17:16:42 +01:00
parent 2345f71df9
commit 42f6f3ca26
7 changed files with 127 additions and 19 deletions

View File

@@ -3393,7 +3393,7 @@ static void *
format_cb_window_zoomed_flag(struct format_tree *ft)
{
if (ft->w != NULL) {
if (ft->w->flags & WINDOW_ZOOMED)
if (window_has_visible_zoom(ft->w))
return (xstrdup("1"));
return (xstrdup("0"));
}