summaryrefslogtreecommitdiff
path: root/include/swaybar/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaybar/input.h')
-rw-r--r--include/swaybar/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swaybar/input.h b/include/swaybar/input.h
index 6557a29e..65e49218 100644
--- a/include/swaybar/input.h
+++ b/include/swaybar/input.h
@@ -44,7 +44,7 @@ struct swaybar_hotspot {
struct wl_list link; // swaybar_output::hotspots
int x, y, width, height;
enum hotspot_event_handling (*callback)(struct swaybar_output *output,
- struct swaybar_hotspot *hotspot, int x, int y, uint32_t button,
+ struct swaybar_hotspot *hotspot, double x, double y, uint32_t button,
void *data);
void (*destroy)(void *data);
void *data;