diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 09:04:15 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 09:04:15 +0100 |
| commit | 86c09e193ed66420da48a7fd62678286b89dace2 (patch) | |
| tree | 5d1add9b7fec1f4783407f21ec7ed9ff149e6220 /src/wayclock.cc | |
| parent | 888ce66e186e2892bc30afb5bb97918d504e0ba1 (diff) | |
working on event loop
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc index 3009f8d..7f46c40 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -1,14 +1,14 @@ #include "wlstate.h" int main() { - wl_state_s state; - if (!wayc_wl_state_init(&state)) + wlstate_s state; + if (!wayc_wlstate_init(&state)) wayc_panic("Failed to initialize Wayland state", nullptr); while (true) { - wayc_wl_state_update(&state); + wayc_wlstate_update(&state); } - wayc_wl_state_deinit(&state); + wayc_wlstate_deinit(&state); return 0; }
\ No newline at end of file |
