output: Use state field in wlr_output_event_commit

This commit is contained in:
Kenny Levinsen 2023-11-21 19:28:06 +01:00 committed by Simon Ser
parent 2f7ab094d4
commit 8df120dafd

View file

@ -186,7 +186,7 @@ handle_output_commit(struct wl_listener *listener, void *data)
* - output layout change will also be called if needed to position the views * - output layout change will also be called if needed to position the views
* - always update output manager configuration even if the output is now disabled */ * - always update output manager configuration even if the output is now disabled */
if (event->committed & OUTPUT_CONFIG_UPDATED) { if (event->state->committed & OUTPUT_CONFIG_UPDATED) {
update_output_manager_config(output->server); update_output_manager_config(output->server);
} }
} }