tsimplification - dwm - [fork] customized build of dwm, the dynamic window mana… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1e826ddd3ee0159bf2bd296a24e557b0d971ed91 | |
parent a967d7f66447b1b3023cdb4b5a10fca2cfb23b05 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Tue, 15 May 2007 14:06:18 +0200 | |
simplification | |
Diffstat: | |
M layout.c | 6 ++---- | |
1 file changed, 2 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/layout.c b/layout.c | |
t@@ -218,10 +218,8 @@ setlayout(const char *arg) { | |
void | |
togglebar(const char *arg) { | |
- if(bpos == BarOff) { | |
- if((bpos = BARPOS) == BarOff) | |
- bpos = BarTop; | |
- } | |
+ if(bpos == BarOff) | |
+ bpos = (BARPOS == BarOff) ? BarTop : BARPOS; | |
else | |
bpos = BarOff; | |
updatebarpos(); |