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/events.h | |
| parent | 888ce66e186e2892bc30afb5bb97918d504e0ba1 (diff) | |
working on event loop
Diffstat (limited to 'src/events.h')
| -rw-r--r-- | src/events.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/events.h b/src/events.h new file mode 100644 index 0000000..73efe55 --- /dev/null +++ b/src/events.h @@ -0,0 +1,19 @@ +#pragma once + +#include "utils.h" +#include "window.h" +#include "wlstate.h" + +enum event_kind_e { + EVENT_KIND_CLOSE, +}; + +struct event_s { + enum event_kind_e kind; + struct window_s *window; +}; + +struct eventloop_s { + struct wlstate_s state; + +}; |
