aboutsummaryrefslogtreecommitdiff
path: root/src/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.h')
-rw-r--r--src/event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event.h b/src/event.h
index 5cc626d..1197afa 100644
--- a/src/event.h
+++ b/src/event.h
@@ -4,6 +4,7 @@
#include "display.h"
typedef enum {
+ EVENT_HOVER,
EVENT_LEFT_CLICK,
EVENT_MIDDLE_CLICK,
EVENT_RIGHT_CLICK,
@@ -21,6 +22,8 @@ typedef struct layout layout_t;
const char *event_type_to_string(event_type_t type);
+bool event_is_hover(event_t event);
+
bool event_is_click(event_t event);
bool event_is_scroll(event_t event);