mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
backend/headless: leave new outputs disabled by default
This commit is contained in:
parent
e1bdc62c38
commit
f4ee5eae93
@ -17,8 +17,6 @@ static bool backend_start(struct wlr_backend *wlr_backend) {
|
||||
|
||||
struct wlr_headless_output *output;
|
||||
wl_list_for_each(output, &backend->outputs, link) {
|
||||
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
|
||||
wlr_output_update_enabled(&output->wlr_output, true);
|
||||
wl_signal_emit_mutable(&backend->backend.events.new_output,
|
||||
&output->wlr_output);
|
||||
}
|
||||
|
@ -141,8 +141,6 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,
|
||||
wl_list_insert(&backend->outputs, &output->link);
|
||||
|
||||
if (backend->started) {
|
||||
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
|
||||
wlr_output_update_enabled(wlr_output, true);
|
||||
wl_signal_emit_mutable(&backend->backend.events.new_output, wlr_output);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user