mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Fix reference to wlr_output_event_commit.committed
This has been dropped from wlroots. Previous commit missed that.
This commit is contained in:
parent
072fa60cb4
commit
9d666a08e1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user