diff options
author | Simon Ser <contact@emersion.fr> | 2020-08-24 10:27:03 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-08-24 07:55:35 -0600 |
commit | 297354f8477285231826f6441b943188ec7d7399 (patch) | |
tree | ee3bacacb6c9170aed28b85ae3ffdee91d8cdac7 /examples/text-input.c | |
parent | bad1e9afa8ea7d8927c8b4df83d3f277379dd54e (diff) |
Remove unnecessary wl_display_dispatch calls
wl_display_roundtrip already takes care of dispatching the display.
Diffstat (limited to 'examples/text-input.c')
-rw-r--r-- | examples/text-input.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |