output-damage: fix setting pending_attach_render

This commit is contained in:
Kirill Primak 2022-10-07 17:42:32 +03:00
parent 052ea7b475
commit b9155c5b80

View File

@ -55,7 +55,7 @@ static void output_handle_precommit(struct wl_listener *listener, void *data) {
// TODO: find a better way to access this info without a precommit // TODO: find a better way to access this info without a precommit
// handler // handler
output_damage->pending_attach_render = output_damage->pending_attach_render =
output_is_direct_scanout(output, state->buffer); !output_is_direct_scanout(output, state->buffer);
} }
} }