Skip to content

Commit

Permalink
Fix reference to wlr_output_event_commit.committed
Browse files Browse the repository at this point in the history
This has been dropped from wlroots. Previous commit missed that.
  • Loading branch information
emersion committed Nov 21, 2023
1 parent 072fa60 commit 9d666a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway/desktop/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
}

// Next time the output is enabled, try to re-apply the gamma LUT
if ((event->committed & WLR_OUTPUT_STATE_ENABLED) && !output->wlr_output->enabled) {
if ((event->state->committed & WLR_OUTPUT_STATE_ENABLED) && !output->wlr_output->enabled) {
output->gamma_lut_changed = true;
}
}
Expand Down

0 comments on commit 9d666a0

Please sign in to comment.