diff options
Diffstat (limited to 'swaybar/render.c')
-rw-r--r-- | swaybar/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c index 53e578f0..d2175f0a 100644 --- a/swaybar/render.c +++ b/swaybar/render.c | |||
@@ -411,7 +411,7 @@ static uint32_t render_workspace_button(cairo_t *cairo, | |||
411 | hotspot->height = height; | 411 | hotspot->height = height; |
412 | hotspot->callback = workspace_hotspot_callback; | 412 | hotspot->callback = workspace_hotspot_callback; |
413 | hotspot->destroy = free; | 413 | hotspot->destroy = free; |
414 | hotspot->data = strdup(name); | 414 | hotspot->data = strdup(ws->name); |
415 | wl_list_insert(&output->hotspots, &hotspot->link); | 415 | wl_list_insert(&output->hotspots, &hotspot->link); |
416 | 416 | ||
417 | *x += width; | 417 | *x += width; |