summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 1bbc885..94ee87a 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,6 @@
+#include <unistd.h>
#include <stdio.h>
#include <wayland-client.h>
@@ -13,6 +14,8 @@ int main(void)
}
fprintf(stderr, "Connection established!\n");
+ sleep(2);
+
wl_display_disconnect(display);
return 0;
}