diff options
author | xengineering <me@xengineering.eu> | 2023-03-17 18:09:17 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-03-17 18:09:17 +0100 |
commit | b3535dcb638f73628d0dd2858427c3c563ce3d57 (patch) | |
tree | 83e42da1c2722872112bbe68a73514e9f37bd0a2 | |
parent | bb177c6e2c4f70165405034b0d3355affde3c859 (diff) | |
download | phonelock-b3535dcb638f73628d0dd2858427c3c563ce3d57.tar phonelock-b3535dcb638f73628d0dd2858427c3c563ce3d57.tar.zst phonelock-b3535dcb638f73628d0dd2858427c3c563ce3d57.zip |
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.
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |