diff -r 9c7fba655d72 -r 2cbf1010be11 layout.c --- a/layout.c Tue May 15 13:44:04 2007 +0200 +++ b/layout.c Tue May 15 13:49:43 2007 +0200 @@ -218,7 +218,12 @@ void togglebar(const char *arg) { - bpos = (bpos == BarOff) ? BARPOS : BarOff; + if(bpos == BarOff) { + if((bpos = BARPOS) == BarOff) + bpos = BarTop; + } + else + bpos = BarOff; updatebarpos(); lt->arrange(); }