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.h4
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
7struct swaybar;
7struct swaybar_output; 8struct swaybar_output;
8 9
9struct swaybar_pointer { 10struct 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
18enum x11_button { 20enum x11_button {
@@ -45,6 +47,8 @@ struct swaybar_hotspot {
45 47
46extern const struct wl_seat_listener seat_listener; 48extern const struct wl_seat_listener seat_listener;
47 49
50void update_cursor(struct swaybar *bar);
51
48void free_hotspots(struct wl_list *list); 52void free_hotspots(struct wl_list *list);
49 53
50#endif 54#endif