From efe10ea655de409d76e08b21913bf7cab72d4fec Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 14 Jul 2024 21:02:45 -0600 Subject: use the parent scene node to determine if move clients out of LyrFloat [sevz: commit message is mine] --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 2dbc5da..5bf995e 100644 --- a/dwl.c +++ b/dwl.c @@ -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, -- cgit v1.2.3