summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_taggrid.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-22 08:43:07 +0200
committerbakkeby <[email protected]>2020-08-22 08:43:07 +0200
commit110cc7d24042d88521a5edd67adf35eb5d949776 (patch)
tree9752df419472892b495ff7759fd4e786bbebb109 /patch/bar_taggrid.c
parent81488b4862487c6debed8f447db217d2d2c78ecb (diff)
downloaddwm-flexipatch-110cc7d24042d88521a5edd67adf35eb5d949776.tar.gz
dwm-flexipatch-110cc7d24042d88521a5edd67adf35eb5d949776.zip
Added logic to auto-hide bars if nothing is drawn on them (e.g. for standalone bars that only show certain clients)
Diffstat (limited to 'patch/bar_taggrid.c')
-rw-r--r--patch/bar_taggrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_taggrid.c b/patch/bar_taggrid.c
index ebd07c1..0bdf105 100644
--- a/patch/bar_taggrid.c
+++ b/patch/bar_taggrid.c
@@ -53,7 +53,7 @@ draw_taggrid(Bar *bar, BarDrawArg *a)
}
y += h;
}
- return max_x;
+ return 1;
}
int