mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
backend/wayland: mark new outputs as disabled
Leave it up to the compositor to enable new outputs (just like the DRM backend does).
This commit is contained in:
parent
2aabaf8809
commit
1f716f4bc0
1 changed files with 0 additions and 4 deletions
|
@ -804,7 +804,6 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *wlr_backend) {
|
||||||
wl_display_roundtrip(output->backend->remote_display);
|
wl_display_roundtrip(output->backend->remote_display);
|
||||||
|
|
||||||
wl_list_insert(&backend->outputs, &output->link);
|
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);
|
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);
|
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;
|
return wlr_output;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|
Loading…
Reference in a new issue