From 5976b79c1c3af92b2977fd2bdc7653e92dfa911c Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 20 Mar 2023 21:43:24 +0100 Subject: [PATCH] testautomation: create no window, so that testautomation_mouse.c::mouse_getMouseFocus() pass (more precisely, the last test, when the window is destroyed, focus window should report null) --- test/testautomation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/testautomation.c b/test/testautomation.c index 25c8da8bf..926365251 100644 --- a/test/testautomation.c +++ b/test/testautomation.c @@ -72,6 +72,9 @@ int main(int argc, char *argv[]) return 1; } + /* No need of windows (or update testautomation_mouse.c:mouse_getMouseFocus() */ + state->num_windows = 0; + /* Parse commandline */ for (i = 1; i < argc;) { int consumed;