Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simplification
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
04835a8
..
bc5ca1c
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-217,6
+217,16
@@
setlayout(const char *arg) {
}
void
+togglebar(const char *arg) {
+ if(bpos == BarOff)
+ bpos = (BARPOS == BarOff) ? BarTop : BARPOS;
+ else
+ bpos = BarOff;
+ updatebarpos();
+ lt->arrange();
+}
+
+void
togglemax(const char *arg) {
XEvent ev;