fix: can't lift fullscreen to top layer

This commit is contained in:
DreamMaoMao 2025-04-17 23:13:02 +08:00
parent 2bd766c987
commit 73f4a7e172

View file

@ -1634,9 +1634,6 @@ applyrules(Client *c) {
} }
} }
wlr_scene_node_reparent(&c->scene->node,
layers[c->isfloating ? LyrFloat : LyrTile]);
Client *fc; Client *fc;
// 如果当前的tag中有新创建的非悬浮窗口,就让当前tag中的全屏窗口退出全屏参与平铺 // 如果当前的tag中有新创建的非悬浮窗口,就让当前tag中的全屏窗口退出全屏参与平铺
wl_list_for_each(fc, &clients, link) if (fc && fc != c && wl_list_for_each(fc, &clients, link) if (fc && fc != c &&