From ee44bc148fc2d2bc5a1432e133a043690cd68436 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 16 Jun 2025 13:41:25 +0800 Subject: [PATCH] opt: disable clip to hide if it is a visible floating window when change monitor --- src/maomao.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/maomao.c b/src/maomao.c index d16ded2..9c0548d 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -1093,8 +1093,7 @@ void client_change_mon(Client *c, Monitor *m) { c->oldgeom = c->geom = setclient_coordinate_center(c, c->geom, 0, 0); } if (VISIBLEON(c, m) && c->isfloating) { - wlr_scene_node_set_enabled(&c->scene->node, true); - client_set_suspended(c, false); + c->is_clip_to_hide = false; } }