~ruther/dwl

dfcd142ce4079d36f5a0a73f9104ba87c365ef12 — Leonardo Hernández Hernández 2 years ago 07bf183
don't try to set monitor for clients in createmon()

this is done in updatemons()
1 files changed, 0 insertions(+), 5 deletions(-)

M dwl.c
M dwl.c => dwl.c +0 -5
@@ 944,11 944,6 @@ createmon(struct wl_listener *listener, void *data)
	 */
	m->scene_output = wlr_scene_output_create(scene, wlr_output);
	wlr_output_layout_add_auto(output_layout, wlr_output);

	/* If there are clients without monitor set this as their monitor */
	wl_list_for_each(c, &clients, link)
		if (!c->mon)
			setmon(c, m, c->tags);
}

void

Do not follow this link