Skip to content

Commit 9d666a0

Browse files
committed
Fix reference to wlr_output_event_commit.committed
This has been dropped from wlroots. Previous commit missed that.
1 parent 072fa60 commit 9d666a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sway/desktop/output.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
966966
}
967967

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

0 commit comments

Comments
 (0)