Fix reference to wlr_output_event_commit.committed

This has been dropped from wlroots. Previous commit missed that.
This commit is contained in:
Simon Ser 2023-11-21 16:52:19 +01:00
parent 072fa60cb4
commit 9d666a08e1

View File

@ -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;
}
}