aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaybar/input.h')
-rw-r--r--include/swaybar/input.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/swaybar/input.h b/include/swaybar/input.h
index d76cd551..88e5abc5 100644
--- a/include/swaybar/input.h
+++ b/include/swaybar/input.h
@@ -22,6 +22,19 @@ struct swaybar_pointer {
uint32_t serial;
};
+struct touch_slot {
+ int32_t id;
+ uint32_t time;
+ struct swaybar_output *output;
+ double start_x, start_y;
+ double x, y;
+};
+
+struct swaybar_touch {
+ struct wl_touch *touch;
+ struct touch_slot slots[16];
+};
+
enum hotspot_event_handling {
HOTSPOT_IGNORE,
HOTSPOT_PROCESS,