~ruther/dwl

2a19714e39081bf7ea51351596ac00e8957485ba — Rutherther 10 months ago 19cf754
fix: attach client to different monitor for tagrules
1 files changed, 9 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +9 -0
@@ 452,6 452,15 @@ applyrules(Client *c)
		}
	}
	wlr_scene_node_reparent(&c->scene->node, layers[c->isfloating ? LyrFloat : LyrTile]);

	wl_list_for_each(m, &mons, link) {
		// tag with different monitor selected by rules
		if (m->tagset[m->seltags] & newtags) {
			mon = m;
			break;
		}
	}

	setmon(c, mon, newtags);
}


Do not follow this link