summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_statusbutton.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-09 17:24:02 +0200
committerbakkeby <[email protected]>2020-09-09 17:24:02 +0200
commitff9811f73d1f3d47a6ab7a2a7e44308bf849fb44 (patch)
treeded58addbdbcf61bdf8eaa99d9c67f46d1f8921d /patch/bar_statusbutton.c
parentb3e6e3531b79b4bcd6938f291f9658ca5bbc5dd2 (diff)
downloaddwm-flexipatch-ff9811f73d1f3d47a6ab7a2a7e44308bf849fb44.tar.gz
dwm-flexipatch-ff9811f73d1f3d47a6ab7a2a7e44308bf849fb44.zip
Just some minor changes adding bar border patch ref. #41
Diffstat (limited to 'patch/bar_statusbutton.c')
-rw-r--r--patch/bar_statusbutton.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/patch/bar_statusbutton.c b/patch/bar_statusbutton.c
index 292b83e..7f52af4 100644
--- a/patch/bar_statusbutton.c
+++ b/patch/bar_statusbutton.c
@@ -1,17 +1,17 @@
int
-width_stbutton(Bar *bar, BarWidthArg *a)
+width_stbutton(Bar *bar, BarArg *a)
{
return TEXTW(buttonbar);
}
int
-draw_stbutton(Bar *bar, BarDrawArg *a)
+draw_stbutton(Bar *bar, BarArg *a)
{
- return drw_text(drw, a->x, 0, a->w, bh, lrpad / 2, buttonbar, 0, False);
+ return drw_text(drw, a->x, a->y, a->w, a->h, lrpad / 2, buttonbar, 0, False);
}
int
-click_stbutton(Bar *bar, Arg *arg, BarClickArg *a)
+click_stbutton(Bar *bar, Arg *arg, BarArg *a)
{
return ClkButton;
}