From 23f7e26978d6aaf675329e22f550828aa1e65ece Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 14 Dec 2021 14:52:45 +0000 Subject: [PATCH] tests/xwayland: Remove manual timeout implementation One of the best things about a real test framework is that they handle timeouts for you. Signed-off-by: Daniel Stone Reported-by: Simon Ser --- tests/xwayland-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/xwayland-test.c b/tests/xwayland-test.c index 665f6ea7..7017eb00 100644 --- a/tests/xwayland-test.c +++ b/tests/xwayland-test.c @@ -108,7 +108,6 @@ TEST(xwayland_client_test) XSelectInput(display, window, ExposureMask); XMapWindow(display, window); - alarm(4); while (1) { XNextEvent(display, &event); if (event.type == Expose)