mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
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
1 changed files with 1 additions and 1 deletions
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 a new issue