mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
tests: remove unnecessary lines from queue-test
Earlier, the wl_display_dispatch_pending were setting number of thread that can dispatch events. This behaviour was removed later, so now these lines are redundant. Related commits:385fe30e8b78cfa967683c7e8bfbb4Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
8cf7a23e57
commit
c6d98e15ca
1 changed files with 0 additions and 10 deletions
|
|
@ -130,11 +130,6 @@ client_test_multiple_queues(void)
|
|||
state.display = wl_display_connect(SOCKET_NAME);
|
||||
client_assert(state.display);
|
||||
|
||||
/* Make the current thread the display thread. This is because
|
||||
* wl_display_dispatch_queue() will only read the display fd if
|
||||
* the main display thread has been set. */
|
||||
wl_display_dispatch_pending(state.display);
|
||||
|
||||
queue = wl_display_create_queue(state.display);
|
||||
client_assert(queue);
|
||||
|
||||
|
|
@ -186,11 +181,6 @@ client_test_queue_roundtrip(void)
|
|||
display = wl_display_connect(SOCKET_NAME);
|
||||
client_assert(display);
|
||||
|
||||
/* Make the current thread the display thread. This is because
|
||||
* wl_display_dispatch_queue() will only read the display fd if
|
||||
* the main display thread has been set. */
|
||||
wl_display_dispatch_pending(display);
|
||||
|
||||
queue = wl_display_create_queue(display);
|
||||
client_assert(queue);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue