simplification
This commit is contained in:
parent
a967d7f664
commit
1e826ddd3e
6
layout.c
6
layout.c
@ -218,10 +218,8 @@ setlayout(const char *arg) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
togglebar(const char *arg) {
|
togglebar(const char *arg) {
|
||||||
if(bpos == BarOff) {
|
if(bpos == BarOff)
|
||||||
if((bpos = BARPOS) == BarOff)
|
bpos = (BARPOS == BarOff) ? BarTop : BARPOS;
|
||||||
bpos = BarTop;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
bpos = BarOff;
|
bpos = BarOff;
|
||||||
updatebarpos();
|
updatebarpos();
|
||||||
|
Loading…
Reference in New Issue
Block a user