mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-05 13:29:47 -05:00
re-adds wlr_output_update_enabled
Re-add the wlr_output_update_enabled to make sure wlr_output::events.enable is called when the output enabled state changes.
This commit is contained in:
parent
3cf7225cec
commit
f946c10cb1
7 changed files with 18 additions and 9 deletions
|
|
@ -15,7 +15,7 @@ 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);
|
||||
output->wlr_output.enabled = true;
|
||||
wlr_output_update_enabled(&output->wlr_output, true);
|
||||
wl_signal_emit(&backend->backend.events.output_add,
|
||||
&output->wlr_output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue