summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_statusbutton.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-18 13:03:30 +0200
committerbakkeby <[email protected]>2020-07-18 13:03:30 +0200
commit664484d572719df5c105b386fa30e8ba0b7825fa (patch)
treee2acd303fb33b74a930dbdabd4430a9c3072e0a9 /patch/bar_statusbutton.c
parentad09397ad965d6104134bce7df5ad13ecfb97014 (diff)
downloaddwm-flexipatch-664484d572719df5c105b386fa30e8ba0b7825fa.tar.gz
dwm-flexipatch-664484d572719df5c105b386fa30e8ba0b7825fa.zip
Refinement
Diffstat (limited to 'patch/bar_statusbutton.c')
-rw-r--r--patch/bar_statusbutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/patch/bar_statusbutton.c b/patch/bar_statusbutton.c
index 5f60b76..f5c9c9d 100644
--- a/patch/bar_statusbutton.c
+++ b/patch/bar_statusbutton.c
@@ -1,11 +1,11 @@
int
-width_stbutton(Monitor *m, BarWidthArg *a)
+width_stbutton(Bar *bar, BarWidthArg *a)
{
return TEXTW(buttonbar);
}
int
-draw_stbutton(Monitor *m, BarDrawArg *a)
+draw_stbutton(Bar *bar, BarDrawArg *a)
{
#if BAR_PANGO_PATCH
return drw_text(drw, a->x, 0, a->w, bh, lrpad / 2, buttonbar, 0, False);
@@ -15,7 +15,7 @@ draw_stbutton(Monitor *m, BarDrawArg *a)
}
int
-click_stbutton(Monitor *m, Arg *arg, BarClickArg *a)
+click_stbutton(Bar *bar, Arg *arg, BarClickArg *a)
{
return ClkButton;
}