From bfae9bec636129e78703bce3b156963686ab81dc Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:18:27 -0300 Subject: gui: the workspace row's underlay is the tagline's ground: the window painted every tagline-role cell's band in the tag's colour under the cell's own, so a theme whose tagline is another colour (dark_plus's blue) showed the tag's gray at the row's left inset and between its cells like an anchor that is not there; the surface carries tagline_bg and the rows it covers, and the band takes it there Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/gui/gui.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/gui.zig') diff --git a/src/gui/gui.zig b/src/gui/gui.zig index 1873778a..f4424520 100644 --- a/src/gui/gui.zig +++ b/src/gui/gui.zig @@ -6064,8 +6064,10 @@ fn emitSurfaceCell( const role = cellFontRole(&line[at]); if (role == .tagline) { const here = line_cover[at]; + // The workspace row's underlay is its own ground (a theme's status + // bar), else the focused or plain tag's. const band_base: pardes.Cell = .{ - .style = .{ .bg = .{ .rgb = if (here.focus) chrome.tag_focus_bg else chrome.tag_bg }, .font_role = .tagline }, + .style = .{ .bg = .{ .rgb = if (row < chrome.tagline_rows) chrome.tagline_bg else if (here.focus) chrome.tag_focus_bg else chrome.tag_bg }, .font_role = .tagline }, .default = false, }; // The smaller font changes the ink, not the chrome's coverage. Painting -- cgit v1.3