Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Added tag 4.1 for changeset 00f4180df72b
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
0dc062f
..
bc5ca1c
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-218,8
+218,12
@@
setlayout(const char *arg) {
void
togglebar(const char *arg) {
void
togglebar(const char *arg) {
- bpos = (bpos == BarOff) ? BARPOS : BarOff;
+ if(bpos == BarOff)
+ bpos = (BARPOS == BarOff) ? BarTop : BARPOS;
+ else
+ bpos = BarOff;
updatebarpos();
updatebarpos();
+ lt->arrange();
}
void
}
void