aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/render.c')
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index b2c1c710..97690338 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -177,7 +177,7 @@ static uint32_t render_status_block(cairo_t *cairo,
177 *x -= margin; 177 *x -= margin;
178 } 178 }
179 179
180 if (output->bar->status->i3bar_state.click_events) { 180 if (output->bar->status->click_events) {
181 struct swaybar_hotspot *hotspot = calloc(1, sizeof(struct swaybar_hotspot)); 181 struct swaybar_hotspot *hotspot = calloc(1, sizeof(struct swaybar_hotspot));
182 hotspot->x = *x; 182 hotspot->x = *x;
183 hotspot->y = 0; 183 hotspot->y = 0;