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
raise barwin in restack, that's the most elegant solution I think
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
04835a8
..
0f17b69
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-189,6
+189,7
@@
restack(void) {
XLowerWindow(dpy, c->win);
}
}
XLowerWindow(dpy, c->win);
}
}
+ XRaiseWindow(dpy, barwin);
XSync(dpy, False);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
}
XSync(dpy, False);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
}
@@
-217,6
+218,16
@@
setlayout(const char *arg) {
}
void
}
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;
togglemax(const char *arg) {
XEvent ev;