opt: disable clip to hide if it is a visible floating window when change monitor

This commit is contained in:
DreamMaoMao 2025-06-16 13:41:25 +08:00
parent 6b2ef05dcf
commit ee44bc148f

View file

@ -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;
}
}