summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_statusbutton.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-15 14:10:47 +0200
committerbakkeby <[email protected]>2020-07-15 14:10:47 +0200
commitaa70728d0049f771820f17cfca4488768cf57cef (patch)
tree6c04dd37b98a70b6f9aedf15e9ece315f7d89933 /patch/bar_statusbutton.h
parentf2da4d20d9a79070863972423ca964cf65342ba7 (diff)
downloaddwm-flexipatch-aa70728d0049f771820f17cfca4488768cf57cef.tar.gz
dwm-flexipatch-aa70728d0049f771820f17cfca4488768cf57cef.zip
Adding BarWidthArg, BarDrawArg, BarClickArg to keep the method signatures static
Diffstat (limited to 'patch/bar_statusbutton.h')
-rw-r--r--patch/bar_statusbutton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/patch/bar_statusbutton.h b/patch/bar_statusbutton.h
index 84ac2c5..47055ad 100644
--- a/patch/bar_statusbutton.h
+++ b/patch/bar_statusbutton.h
@@ -1,3 +1,3 @@
-static int width_stbutton(Monitor *m, int max_width);
-static int draw_stbutton(Monitor *m, int x, int w);
-static int click_stbutton(Monitor *m, Arg *arg, int rel_x, int rel_y, int rel_w, int rel_h); \ No newline at end of file
+static int width_stbutton(Monitor *m, BarWidthArg *a);
+static int draw_stbutton(Monitor *m, BarDrawArg *a);
+static int click_stbutton(Monitor *m, Arg *arg, BarClickArg *a); \ No newline at end of file