From 297354f8477285231826f6441b943188ec7d7399 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 24 Aug 2020 10:27:03 +0200 Subject: Remove unnecessary wl_display_dispatch calls wl_display_roundtrip already takes care of dispatching the display. --- examples/text-input.c | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/text-input.c') diff --git a/examples/text-input.c b/examples/text-input.c index bfdbc07b..ec75d307 100644 --- a/examples/text-input.c +++ b/examples/text-input.c @@ -344,7 +344,6 @@ int main(int argc, char **argv) { struct wl_registry *registry = wl_display_get_registry(display); wl_registry_add_listener(registry, ®istry_listener, NULL); - wl_display_dispatch(display); wl_display_roundtrip(display); if (compositor == NULL) { -- cgit v1.2.3