summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/queue-test.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/queue-test.c b/tests/queue-test.c
index 3de8924..a7b54d9 100644
--- a/tests/queue-test.c
+++ b/tests/queue-test.c
@@ -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);