diff options
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/swaybar/input.h b/include/swaybar/input.h index 390309a0..f480d009 100644 --- a/include/swaybar/input.h +++ b/include/swaybar/input.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <wayland-client.h> | 4 | #include <wayland-client.h> |
5 | #include "list.h" | 5 | #include "list.h" |
6 | 6 | ||
7 | struct swaybar; | ||
7 | struct swaybar_output; | 8 | struct swaybar_output; |
8 | 9 | ||
9 | struct swaybar_pointer { | 10 | struct swaybar_pointer { |
@@ -13,6 +14,7 @@ struct swaybar_pointer { | |||
13 | struct wl_surface *cursor_surface; | 14 | struct wl_surface *cursor_surface; |
14 | struct swaybar_output *current; | 15 | struct swaybar_output *current; |
15 | int x, y; | 16 | int x, y; |
17 | uint32_t serial; | ||
16 | }; | 18 | }; |
17 | 19 | ||
18 | enum x11_button { | 20 | enum x11_button { |
@@ -45,6 +47,8 @@ struct swaybar_hotspot { | |||
45 | 47 | ||
46 | extern const struct wl_seat_listener seat_listener; | 48 | extern const struct wl_seat_listener seat_listener; |
47 | 49 | ||
50 | void update_cursor(struct swaybar *bar); | ||
51 | |||
48 | void free_hotspots(struct wl_list *list); | 52 | void free_hotspots(struct wl_list *list); |
49 | 53 | ||
50 | #endif | 54 | #endif |