Skip to content

Commit

Permalink
chore: Use state field in wlr_output_event_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kennylevinsen committed Nov 21, 2023
1 parent b8c7c85 commit 50fb260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* - 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);
}
}
Expand Down

0 comments on commit 50fb260

Please sign in to comment.