summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2024-07-14 21:02:45 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-07-14 21:10:44 -0600
commitefe10ea655de409d76e08b21913bf7cab72d4fec (patch)
treeb963130e76d935a8c146d23186ba2c366c182148
parent9a962ce136536689b289ac126a0ad3525a13f682 (diff)
use the parent scene node to determine if move clients out of LyrFloat
[sevz: commit message is mine]
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
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,