diff options
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; + +}; |
