use the parent scene node to determine if move clients out of LyrFloat
[sevz: commit message is mine]
This commit is contained in:
parent
9a962ce136
commit
efe10ea655
2
dwl.c
2
dwl.c
@ -504,7 +504,7 @@ arrange(Monitor *m)
|
|||||||
/* We move all clients (except fullscreen and unmanaged) to LyrTile while
|
/* We move all clients (except fullscreen and unmanaged) to LyrTile while
|
||||||
* in floating layout to avoid "real" floating clients be always on top */
|
* in floating layout to avoid "real" floating clients be always on top */
|
||||||
wl_list_for_each(c, &clients, link) {
|
wl_list_for_each(c, &clients, link) {
|
||||||
if (c->mon != m || c->isfullscreen)
|
if (c->mon != m || c->scene->node.parent == layers[LyrFS])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
wlr_scene_node_reparent(&c->scene->node,
|
wlr_scene_node_reparent(&c->scene->node,
|
||||||
|
Loading…
Reference in New Issue
Block a user