mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Merge pull request #549 from emersion/output-enabled
Add wlr_output::enabled
This commit is contained in:
commit
b331c5c2c5
17 changed files with 153 additions and 85 deletions
|
|
@ -425,7 +425,7 @@ static void output_add_notify(struct wl_listener *listener, void *data) {
|
|||
ostate->frame.notify = output_frame_notify;
|
||||
ostate->resolution.notify = output_resolution_notify;
|
||||
wl_signal_add(&output->events.frame, &ostate->frame);
|
||||
wl_signal_add(&output->events.resolution, &ostate->resolution);
|
||||
wl_signal_add(&output->events.mode, &ostate->resolution);
|
||||
wl_list_insert(&state->outputs, &ostate->link);
|
||||
if (state->output_add_cb) {
|
||||
state->output_add_cb(ostate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue