aboutsummaryrefslogtreecommitdiff
path: root/src/event.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-22 00:35:12 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-22 00:35:12 +0200
commitcf2ca10ff02491de7e035cd49d39bfcda5d741bd (patch)
tree6747a8677b1e3a85203de062135e86a72dc23b6b /src/event.h
parent079b8eb4ff7a45d8872b2b83e324be00ea68fe6f (diff)
downloadcherry-cf2ca10ff02491de7e035cd49d39bfcda5d741bd.tar.gz
cherry-cf2ca10ff02491de7e035cd49d39bfcda5d741bd.zip
Add event.c and a function to get the ID of event
Diffstat (limited to 'src/event.h')
-rw-r--r--src/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event.h b/src/event.h
index 08f95f3..ad635f5 100644
--- a/src/event.h
+++ b/src/event.h
@@ -32,5 +32,6 @@ typedef struct CherryEvent {
CherryEvent cherry_event_create(Display *, Window, int);
CherryEvent cherry_event_mouse_create(Display *, Window, int, int x, int y);
CherryEvent cherry_event_key_create(int, XKeyEvent);
+int cherry_event_id(CherryEvent);
#endif /* __CHERRY_EVENT_H__ */