diff options
Diffstat (limited to 'include/swaybar/input.h')
-rw-r--r-- | include/swaybar/input.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/include/swaybar/input.h b/include/swaybar/input.h index 4b46b0de..d76cd551 100644 --- a/include/swaybar/input.h +++ b/include/swaybar/input.h | |||
@@ -22,19 +22,6 @@ struct swaybar_pointer { | |||
22 | uint32_t serial; | 22 | uint32_t serial; |
23 | }; | 23 | }; |
24 | 24 | ||
25 | enum x11_button { | ||
26 | NONE, | ||
27 | LEFT, | ||
28 | MIDDLE, | ||
29 | RIGHT, | ||
30 | SCROLL_UP, | ||
31 | SCROLL_DOWN, | ||
32 | SCROLL_LEFT, | ||
33 | SCROLL_RIGHT, | ||
34 | BACK, | ||
35 | FORWARD, | ||
36 | }; | ||
37 | |||
38 | enum hotspot_event_handling { | 25 | enum hotspot_event_handling { |
39 | HOTSPOT_IGNORE, | 26 | HOTSPOT_IGNORE, |
40 | HOTSPOT_PROCESS, | 27 | HOTSPOT_PROCESS, |
@@ -54,6 +41,8 @@ extern const struct wl_seat_listener seat_listener; | |||
54 | 41 | ||
55 | void update_cursor(struct swaybar *bar); | 42 | void update_cursor(struct swaybar *bar); |
56 | 43 | ||
44 | uint32_t event_to_x11_button(uint32_t event); | ||
45 | |||
57 | void free_hotspots(struct wl_list *list); | 46 | void free_hotspots(struct wl_list *list); |
58 | 47 | ||
59 | #endif | 48 | #endif |