mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
backend/headless: leave new outputs disabled by default
This commit is contained in:
parent
e1bdc62c38
commit
f4ee5eae93
2 changed files with 0 additions and 4 deletions
|
@ -17,8 +17,6 @@ static bool backend_start(struct wlr_backend *wlr_backend) {
|
||||||
|
|
||||||
struct wlr_headless_output *output;
|
struct wlr_headless_output *output;
|
||||||
wl_list_for_each(output, &backend->outputs, link) {
|
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,
|
wl_signal_emit_mutable(&backend->backend.events.new_output,
|
||||||
&output->wlr_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);
|
wl_list_insert(&backend->outputs, &output->link);
|
||||||
|
|
||||||
if (backend->started) {
|
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);
|
wl_signal_emit_mutable(&backend->backend.events.new_output, wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue