Reserve title-bar height at the top of the work area so tiled windows' title bars aren't cut off
CI / test (push) Successful in 28s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-24 19:52:29 -08:00
1 parent 59ea224d38
commit abdc5de8e3
1 file changed
+5 -1
+5 -1
View File
@@ -49,7 +49,11 @@ pub fn MoonPlasmaCompositor::new(
border_w=2, border_w=2,
) )
let out_rect : @wm.Rect = { x: 0, y: 0, w: output_w, h: output_h } let out_rect : @wm.Rect = { x: 0, y: 0, w: output_w, h: output_h }
let work_area = @wm.compute_work_area(out_rect, excl_bottom=theme.panel_height) let work_area = @wm.compute_work_area(
out_rect,
excl_top=32, // room for the server-side title bar drawn above each client
excl_bottom=theme.panel_height,
)
Some({ Some({
server, server,
wm, wm,