aboutsummaryrefslogtreecommitdiff
path: root/examples/keyboard-shortcuts-inhibit.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-08-24 10:27:03 +0200
committerDrew DeVault <sir@cmpwn.com>2020-08-24 07:55:35 -0600
commit297354f8477285231826f6441b943188ec7d7399 (patch)
treeee3bacacb6c9170aed28b85ae3ffdee91d8cdac7 /examples/keyboard-shortcuts-inhibit.c
parentbad1e9afa8ea7d8927c8b4df83d3f277379dd54e (diff)
Remove unnecessary wl_display_dispatch calls
wl_display_roundtrip already takes care of dispatching the display.
Diffstat (limited to 'examples/keyboard-shortcuts-inhibit.c')
-rw-r--r--examples/keyboard-shortcuts-inhibit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/keyboard-shortcuts-inhibit.c b/examples/keyboard-shortcuts-inhibit.c
index 3d066c0e..e9a837b6 100644
--- a/examples/keyboard-shortcuts-inhibit.c
+++ b/examples/keyboard-shortcuts-inhibit.c
@@ -209,7 +209,6 @@ int main(int argc, char **argv) {
struct wl_registry *registry = wl_display_get_registry(display);
wl_registry_add_listener(registry, &registry_listener, NULL);
- wl_display_dispatch(display);
wl_display_roundtrip(display);
if (compositor == NULL) {