From 617b71b61f72cef6b638bd4f100a31472f3bd2eb Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sun, 30 Mar 2025 14:33:23 +0800 Subject: [PATCH] fix: get error root_client in scroller layout --- maomao.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/maomao.c b/maomao.c index 42f5229..e408076 100644 --- a/maomao.c +++ b/maomao.c @@ -1350,7 +1350,6 @@ swallow(Client *c, Client *w) c->ismaxmizescreen = w->ismaxmizescreen; c->tags = w->tags; c->geom = w->geom; - c->mon = w->mon; c->scroller_proportion = w->scroller_proportion; wl_list_insert(&w->link, &c->link); wl_list_insert(&w->flink, &c->flink); @@ -1363,8 +1362,6 @@ swallow(Client *c, Client *w) if(!c->foreign_toplevel && c->mon) add_foreign_toplevel(c); - - focusclient(c, true); } void // 0.5