From bc209efac3de0631d6b985c1ac8471cfd75c3530 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 --- backend/headless/output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/headless/output.c b/backend/headless/output.c index 1f81f0b9..15283136 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -98,6 +98,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, .set_cursor = output_set_cursor, .move_cursor = output_move_cursor,