aboutsummaryrefslogtreecommitdiff
path: root/swaybar/render.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-08 12:47:56 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-08 12:47:56 -0400
commitae78f6fb9383392915421784cb97910bbbfb60f2 (patch)
treeec7daa6d31dfc6cbe3ff8e9db1bba2754077eedb /swaybar/render.c
parent70b33342fec0e0cc720cbb62a059c40a34c5314f (diff)
parentebabcc8b44846eaccdd34e3e48aa07d6bf7b58a7 (diff)
Merge branch 'wlroots' into focus-inactive-fixes
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 53e578f0..d2175f0a 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -411,7 +411,7 @@ static uint32_t render_workspace_button(cairo_t *cairo,
hotspot->height = height;
hotspot->callback = workspace_hotspot_callback;
hotspot->destroy = free;
- hotspot->data = strdup(name);
+ hotspot->data = strdup(ws->name);
wl_list_insert(&output->hotspots, &hotspot->link);
*x += width;