summaryrefslogtreecommitdiff
path: root/src/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.h')
-rw-r--r--src/events.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/events.h b/src/events.h
index 8e27576..bdbe6d2 100644
--- a/src/events.h
+++ b/src/events.h
@@ -1,5 +1,6 @@
#pragma once
+#include "hashm.h"
#include "vec.h"
#include "window.h"
#include "wlstate.h"
@@ -15,7 +16,9 @@ struct event_s {
struct eventloop_s {
struct wlstate_s state;
- vec_s<struct event_s> events;
+ struct vec_s<struct event_s> events;
+ window_id_t winid;
+ struct hashmap_s<window_id_t, struct window_s *> windows;
};
bool wayc_eventloop_init(struct eventloop_s *loop);