summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_status2d.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-15 17:15:35 +0200
committerbakkeby <[email protected]>2020-07-15 17:15:35 +0200
commitad09397ad965d6104134bce7df5ad13ecfb97014 (patch)
treec14632ce59ef3b35d8bdea9357d5128263a3e8e2 /patch/bar_status2d.c
parent06c4122e07155ef604bd767182247ee6877b2c94 (diff)
downloaddwm-flexipatch-ad09397ad965d6104134bce7df5ad13ecfb97014.tar.gz
dwm-flexipatch-ad09397ad965d6104134bce7df5ad13ecfb97014.zip
status2d: hide click_status2d if dwmblocks is used
Diffstat (limited to 'patch/bar_status2d.c')
-rw-r--r--patch/bar_status2d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/patch/bar_status2d.c b/patch/bar_status2d.c
index 61ebd69..0adaadd 100644
--- a/patch/bar_status2d.c
+++ b/patch/bar_status2d.c
@@ -10,11 +10,13 @@ draw_status2d(Monitor *m, BarDrawArg *a)
return drawstatusbar(m, a->x, a->w, rawstext);
}
+#if !BAR_DWMBLOCKS_PATCH
int
click_status2d(Monitor *m, Arg *arg, BarClickArg *a)
{
return ClkStatusText;
}
+#endif // BAR_DWMBLOCKS_PATCH
int
drawstatusbar(Monitor *m, int x, int ow, char* stext)