From e1bdc62c38975ba5303945c7443f1871f8d0ca38 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 26 Jun 2023 16:08:50 +0200 Subject: [PATCH] backend/x11: leave new outputs disabled by default --- backend/x11/output.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/x11/output.c b/backend/x11/output.c index a3a48fb0..175204fa 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -601,13 +601,10 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) { wlr_x11_output_set_title(wlr_output, NULL); - xcb_map_window(x11->xcb, output->win); xcb_flush(x11->xcb); wl_list_insert(&x11->outputs, &output->link); - wlr_output_update_enabled(wlr_output, true); - wlr_pointer_init(&output->pointer, &x11_pointer_impl, "x11-pointer"); output->pointer.output_name = strdup(wlr_output->name); @@ -619,9 +616,6 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) { wl_signal_emit_mutable(&x11->backend.events.new_input, &output->pointer.base); wl_signal_emit_mutable(&x11->backend.events.new_input, &output->touch.base); - // Start the rendering loop by requesting the compositor to render a frame - wlr_output_schedule_frame(wlr_output); - return wlr_output; }