aboutsummaryrefslogtreecommitdiffstats
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 {
22 uint32_t serial; 22 uint32_t serial;
23}; 23};
24 24
25struct touch_slot {
26 int32_t id;
27 uint32_t time;
28 struct swaybar_output *output;
29 double start_x, start_y;
30 double x, y;
31};
32
33struct swaybar_touch {
34 struct wl_touch *touch;
35 struct touch_slot slots[16];
36};
37
25enum hotspot_event_handling { 38enum hotspot_event_handling {
26 HOTSPOT_IGNORE, 39 HOTSPOT_IGNORE,
27 HOTSPOT_PROCESS, 40 HOTSPOT_PROCESS,