diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-11-21 16:52:19 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-11-21 16:52:19 +0100 |
| commit | cf243e3242f37f6e1df5e5a4c4e732e2030fc01b (patch) | |
| tree | 0487bbbf36c83144c758c10134be2ae7a7c6272f | |
| parent | 9d2c72188d82b4d173b396dd23f4e8772447883c (diff) | |
Fix reference to wlr_output_event_commit.committed
This has been dropped from wlroots. Previous commit missed that.
| -rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 53730073..e02ab32d 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -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; } } |
