mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
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);
|
XSelectInput(display, window, ExposureMask);
|
||||||
XMapWindow(display, window);
|
XMapWindow(display, window);
|
||||||
|
|
||||||
alarm(4);
|
|
||||||
while (1) {
|
while (1) {
|
||||||
XNextEvent(display, &event);
|
XNextEvent(display, &event);
|
||||||
if (event.type == Expose)
|
if (event.type == Expose)
|
||||||
|
|
Loading…
Reference in a new issue