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 { uint32_t serial; }; -enum x11_button { - NONE, - LEFT, - MIDDLE, - RIGHT, - SCROLL_UP, - SCROLL_DOWN, - SCROLL_LEFT, - SCROLL_RIGHT, - BACK, - FORWARD, -}; - enum hotspot_event_handling { HOTSPOT_IGNORE, HOTSPOT_PROCESS, @@ -54,6 +41,8 @@ extern const struct wl_seat_listener seat_listener; void update_cursor(struct swaybar *bar); +uint32_t event_to_x11_button(uint32_t event); + void free_hotspots(struct wl_list *list); #endif |