~sircmpwn/wio

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Enable output to start from VT

Details
Message ID
<X7JADWuCVTaaNgsH@doom.qw.is>
DKIM signature
fail
Download raw message
Patch: +3 -0 DKIM signature: fail
This fixes #17, where the compositor fails to run when started from a
bare VT.

---
 output.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/output.c b/output.c
index 6244b7f..a88d8ac 100644
--- a/output.c
+++ b/output.c
@@ -469,14 +469,17 @@ void server_new_output(struct wl_listener *listener, void *data) {
		if (config->transform) {
			wlr_output_set_transform(wlr_output, config->transform);
		}
		wlr_output_enable(wlr_output, true);
	} else {
		struct wlr_output_mode *mode =
			wlr_output_preferred_mode(wlr_output);
		if (mode) {
			wlr_output_set_mode(wlr_output, mode);
		}
		wlr_output_enable(wlr_output, true);
		wlr_output_layout_add_auto(server->output_layout, wlr_output);
	}

	wlr_output_commit(wlr_output);
	wlr_output_create_global(wlr_output);
}
-- 
2.29.2
Reply to thread Export thread (mbox)