mirror of
https://github.com/NickHu/sway
synced 2024-12-26 21:58:30 +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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// 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;
|
output->gamma_lut_changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue