aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-26 15:56:29 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-27 16:26:30 +0000
commit1f716f4bc03b898ce07d27e5e9036b4e29e4c98a (patch)
tree0b9110331426f695e14faea7d0393f393aeef4f4 /backend
parent2aabaf88096864f4a9c534f94c909968d0b62b19 (diff)
backend/wayland: mark new outputs as disabled
Leave it up to the compositor to enable new outputs (just like the DRM backend does).
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index 77e3b07c..f8424868 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -804,7 +804,6 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *wlr_backend) {
wl_display_roundtrip(output->backend->remote_display);
wl_list_insert(&backend->outputs, &output->link);
- wlr_output_update_enabled(wlr_output, true);
wl_signal_emit_mutable(&backend->backend.events.new_output, wlr_output);
@@ -821,9 +820,6 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *wlr_backend) {
backend->activation_token, output->surface);
}
- // Start the rendering loop by requesting the compositor to render a frame
- wlr_output_schedule_frame(wlr_output);
-
return wlr_output;
error: