From 888ce66e186e2892bc30afb5bb97918d504e0ba1 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Tue, 10 Feb 2026 08:48:01 +0100 Subject: event loop --- src/wayclock.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wayclock.cc') diff --git a/src/wayclock.cc b/src/wayclock.cc index ecfb784..3009f8d 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -5,6 +5,10 @@ int main() { if (!wayc_wl_state_init(&state)) wayc_panic("Failed to initialize Wayland state", nullptr); + while (true) { + wayc_wl_state_update(&state); + } + wayc_wl_state_deinit(&state); return 0; } \ No newline at end of file -- cgit v1.2.3