From 4cac70d354c35a08ef98fca8bc22b15a94908efa Mon Sep 17 00:00:00 2001 From: skeetamine Date: Thu, 18 Jun 2026 17:24:56 +0300 Subject: [PATCH] fix wrong reference --- src/layout/horizontal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/horizontal.h b/src/layout/horizontal.h index 55769a3b..720d6696 100644 --- a/src/layout/horizontal.h +++ b/src/layout/horizontal.h @@ -579,8 +579,8 @@ void monocle(Monitor *m) { wl_list_for_each(c, &clients, link) { if (!VISIBLEON(c, m) || !ISFAKETILED(c)) continue; - client_tile_resize(fc, geom, 0); - monocle_set_focus(fc, true); + client_tile_resize(c, geom, 0); + monocle_set_focus(c, c == fc); } return; }