summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_wintitle_floating.h
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_wintitle_floating.h
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_wintitle_floating.h')
-rw-r--r--patch/bar_wintitle_floating.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_wintitle_floating.h b/patch/bar_wintitle_floating.h
index 3e6164a..7c6a5c1 100644
--- a/patch/bar_wintitle_floating.h
+++ b/patch/bar_wintitle_floating.h
@@ -1,7 +1,7 @@
static int width_wintitle_floating(Bar *bar, BarWidthArg *a);
static int draw_wintitle_floating(Bar *bar, BarDrawArg *a);
static int click_wintitle_floating(Bar *bar, Arg *arg, BarClickArg *a);
-static void calc_wintitle_floating(
+static int calc_wintitle_floating(
Monitor *m, int offx, int tabw, int passx,
void(*tabfn)(Monitor *, Client *, int, int, int, int, Arg *arg), Arg *arg
); \ No newline at end of file