From b3535dcb638f73628d0dd2858427c3c563ce3d57 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 17 Mar 2023 18:09:17 +0100 Subject: Add delay to later demonstrate lock state The first test will be to lock the session for a few seconds since this is easier than authentication. --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 1bbc885..94ee87a 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,6 @@ +#include #include #include @@ -13,6 +14,8 @@ int main(void) } fprintf(stderr, "Connection established!\n"); + sleep(2); + wl_display_disconnect(display); return 0; } -- cgit v1.2.3-70-g09d2