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 <daniels@collabora.com>
Reported-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Daniel Stone 2021-12-14 14:52:45 +00:00 committed by Simon Ser
parent 1cca054ddb
commit 23f7e26978

View file

@ -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)