~ruther/dwl

6b82c57c1e3de835399803c283e232f2e64adff7 — Rutherther 11 months ago 2e4fe1c
fix: attach client to different monitor for tagrules
1 files changed, 11 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +11 -0
@@ 473,6 473,17 @@ 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