use the parent scene node to determine if move clients out of LyrFloat

[sevz: commit message is mine]
This commit is contained in:
Guido Cella 2024-07-14 21:02:45 -06:00 committed by Leonardo Hernández Hernández
parent 9a962ce136
commit efe10ea655
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

@ -504,7 +504,7 @@ arrange(Monitor *m)
/* We move all clients (except fullscreen and unmanaged) to LyrTile while
* in floating layout to avoid "real" floating clients be always on top */
wl_list_for_each(c, &clients, link) {
if (c->mon != m || c->isfullscreen)
if (c->mon != m || c->scene->node.parent == layers[LyrFS])
continue;
wlr_scene_node_reparent(&c->scene->node,