keyboard-test: Use wl_display_roundtrip() instead of yield()
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Dec 2012 03:00:50 +0000 (22:00 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Dec 2012 03:00:54 +0000 (22:00 -0500)
commit1f4d8e9defa61a304d0e6b44f3b9062e32a169d8
treece7623ec78709c31fdf2e4c14e5c6211654d3071
parentf63fab724111af4927b9e36d0ffbbcf3e870f2d0
keyboard-test: Use wl_display_roundtrip() instead of yield()

As for button-test, a wl_display_roundtrip is sufficient here.  The
yield() between wl_test_activate_surface() and wl_test_send_key() is
also not needed, since the two requests will arrive at the server in
order, and will activate the surface first, then send a key event.
tests/keyboard-test.c