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:
parent
1cca054ddb
commit
23f7e26978
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user