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
|
|
@ -139,7 +139,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,
|
|||
|
||||
if (backend->started) {
|
||||
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
|
||||
wlr_output->enabled = true;
|
||||
wlr_output_update_enabled(wlr_output, true);
|
||||
wl_signal_emit(&backend->backend.events.output_add, wlr_output);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue