~ruther/dwl

5f7d396996ce67bce4f2a35c936e9879576b5aa1 — Leonardo Hernández Hernández 1 year, 6 months ago 901d2e2
don't return early if the first output commit fails
1 files changed, 1 insertions(+), 4 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -4
@@ 898,10 898,7 @@ createmon(struct wl_listener *listener, void *data)
	LISTEN(&wlr_output->events.request_state, &m->request_state, requestmonstate);

	wlr_output_state_set_enabled(&state, 1);
	if (!wlr_output_commit_state(wlr_output, &state)) {
		wlr_output_state_finish(&state);
		return;
	}
	wlr_output_commit_state(wlr_output, &state);
	wlr_output_state_finish(&state);

	wl_list_insert(&mons, &m->link);

Do not follow this link