From abdc5de8e3c2e6b630b1ba9b1118927de28412a8 Mon Sep 17 00:00:00 2001 From: nandithebull Date: Tue, 24 Nov 2026 19:52:29 -0800 Subject: [PATCH] Reserve title-bar height at the top of the work area so tiled windows' title bars aren't cut off Co-Authored-By: Claude Sonnet 5.5 --- compositor/host/compositor.mbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compositor/host/compositor.mbt b/compositor/host/compositor.mbt index 21c0ee0..9ac7f47 100644 --- a/compositor/host/compositor.mbt +++ b/compositor/host/compositor.mbt @@ -49,7 +49,11 @@ pub fn MoonPlasmaCompositor::new( border_w=2, ) 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({ server, wm,