aboutsummaryrefslogtreecommitdiff
path: root/src/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dwm.c')
-rw-r--r--src/dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dwm.c b/src/dwm.c
index a1f1010..eda553e 100644
--- a/src/dwm.c
+++ b/src/dwm.c
@@ -386,7 +386,7 @@ DwmIpc *dwm_create(State *state, const char *socket)
static void change_tag_action(Button *btn)
{
ButtonSimple *sbtn = CAST(btn, ButtonSimple);
- DwmIpc *dwm = sbtn->action_data;
+ DwmIpc *dwm = sbtn->data;
int n = sbtn->text[0] - '0';
g_assert(n >= 1 && n <= 9);