diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 08:48:01 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 08:48:01 +0100 |
| commit | 888ce66e186e2892bc30afb5bb97918d504e0ba1 (patch) | |
| tree | d4aca9ebdfc04b00e6aa0f206c44c0794d6fd7d0 /src/wayclock.cc | |
| parent | d2e732c507c53ddca4c60a7aff650971545d7520 (diff) | |
event loop
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
