Chase wlroots: use output commit event state

Chases: 5fb0007e0249388792f3772c30bfabf8d551dec0
output_event_commit: Remove committed and buffer
This commit is contained in:
Consolatis 2023-10-06 19:47:40 +02:00 committed by Johan Malm
parent 627179b277
commit 9eb7e69a04
2 changed files with 2 additions and 2 deletions

View file

@ -143,7 +143,7 @@ handle_commit(struct wl_listener *listener, void *data)
struct session_lock_output *output = wl_container_of(listener, output, commit);
uint32_t require_reconfigure = WLR_OUTPUT_STATE_MODE
| WLR_OUTPUT_STATE_SCALE | WLR_OUTPUT_STATE_TRANSFORM;
if (event->committed & require_reconfigure) {
if (event->state->committed & require_reconfigure) {
lock_output_reconfigure(output);
}
}