diff options
| author | bakkeby <[email protected]> | 2020-08-22 09:26:56 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-22 09:26:56 +0200 |
| commit | 512a656ddddc588b2d406f344cfc160c9c2c81b5 (patch) | |
| tree | 5707fb064a170cf819f5bda8d309059086b07b7f /patch | |
| parent | eb782ae920ffa0cfef8234a6749e7dd47df579c6 (diff) | |
| download | dwm-flexipatch-512a656ddddc588b2d406f344cfc160c9c2c81b5.tar.gz dwm-flexipatch-512a656ddddc588b2d406f344cfc160c9c2c81b5.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')
| -rw-r--r-- | patch/bar_status2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_status2d.c b/patch/bar_status2d.c index 744fa18..88c3031 100644 --- a/patch/bar_status2d.c +++ b/patch/bar_status2d.c @@ -164,7 +164,7 @@ drawstatusbar(int x, char* stext) free(p); drw_setscheme(drw, scheme[SchemeNorm]); - return i; + return len - 1; } int |
