From 27df2ea469f9312288b12af39ac4be5c09cc530d Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 17 Jun 2026 23:21:01 +0800 Subject: [PATCH] fix: fix monocle window height --- src/layout/horizontal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/horizontal.h b/src/layout/horizontal.h index 4b8fa29d..1634d849 100644 --- a/src/layout/horizontal.h +++ b/src/layout/horizontal.h @@ -584,7 +584,7 @@ void monocle(Monitor *m) { int title_y = m->w.y + cur_gappov; int main_y = title_y + titlebar_height + cur_gapiv; int main_height = - m->w.height - 2 * cur_gappov - 2 * cur_gapiv - titlebar_height; + m->w.height - 2 * cur_gappov - cur_gapiv - titlebar_height; int title_area_width = m->w.width - 2 * cur_gappoh; int tw = (title_area_width - (n - 1) * cur_gapih) / n;