From b29ebe4a1c6569dadb8630f35e1763ccc8954772 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 24 Oct 2024 10:49:08 +0200 Subject: [PATCH] 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 (cherry picked from commit da8f7a07ba8c0767ffca134f871339cc475d5839) --- backend/headless/output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/headless/output.c b/backend/headless/output.c index 5aaf1bd8a..5a00e2e91 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -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, };