aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-26 16:08:50 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-27 16:26:30 +0000
commite1bdc62c38975ba5303945c7443f1871f8d0ca38 (patch)
treead380aa4886909a3859ad10931ced7be644f716c /backend
parent1f716f4bc03b898ce07d27e5e9036b4e29e4c98a (diff)
backend/x11: leave new outputs disabled by default
Diffstat (limited to 'backend')
-rw-r--r--backend/x11/output.c6
1 files changed, 0 insertions, 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;
}