backend/headless: actually perform output test

Currently the headless backend does not actually implement the
wlr_output_test function, causing tests containing output state
unsupported by the headless backend to succeed while committing the same
state will always fail.

This commit fixes that by actually hooking up the already exisiting test
function.

References: https://codeberg.org/river/river/issues/1154
This commit is contained in:
Isaac Freund 2024-10-24 10:49:08 +02:00
parent 0d467ef9aa
commit da8f7a07ba
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -89,6 +89,7 @@ static void output_destroy(struct wlr_output *wlr_output) {
static const struct wlr_output_impl output_impl = {
.destroy = output_destroy,
.test = output_test,
.commit = output_commit,
};