tapplied Eckehard Berns barwin leak fix and his suggestion to deal with restack… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 873bcb97a90727be29fe28774fc6b5546660b447 | |
parent 907db0a85165f720a7b7d5972736393e4d8ac1b9 | |
Author: [email protected] <unknown> | |
Date: Thu, 12 Jan 2012 07:36:05 +0100 | |
applied Eckehard Berns barwin leak fix and his suggestion to deal with restack(… | |
Diffstat: | |
M LICENSE | 2 +- | |
M dwm.c | 6 +++--- | |
2 files changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/LICENSE b/LICENSE | |
t@@ -1,6 +1,6 @@ | |
MIT/X Consortium License | |
-© 2006-2011 Anselm R Garbe <[email protected]> | |
+© 2006-2012 Anselm R Garbe <[email protected]> | |
© 2007-2011 Peter Hartlich <sgkkr at hartlich dot com> | |
© 2010-2011 Connor Lane Smith <[email protected]> | |
© 2006-2009 Jukka Salmi <jukka at salmi dot ch> | |
diff --git a/dwm.c b/dwm.c | |
t@@ -1420,8 +1420,6 @@ restack(Monitor *m) { | |
drawbar(m); | |
if(!m->sel) | |
return; | |
- if(m->sel->isfloating || !m->lt[m->sellt]->arrange) | |
- XRaiseWindow(dpy, m->sel->win); | |
if(m->lt[m->sellt]->arrange) { | |
wc.stack_mode = Below; | |
wc.sibling = m->barwin; | |
t@@ -1827,6 +1825,8 @@ updatebars(void) { | |
.event_mask = ButtonPressMask|ExposureMask | |
}; | |
for(m = mons; m; m = m->next) { | |
+ if (m->barwin) | |
+ continue; | |
m->barwin = XCreateWindow(dpy, root, m->wx, m->by, m->ww, bh, … | |
CopyFromParent, DefaultVisual(dpy, s… | |
CWOverrideRedirect|CWBackPixmap|CWEv… | |
t@@ -2129,7 +2129,7 @@ zoom(const Arg *arg) { | |
int | |
main(int argc, char *argv[]) { | |
if(argc == 2 && !strcmp("-v", argv[1])) | |
- die("dwm-"VERSION", © 2006-2011 dwm engineers, see LICENSE fo… | |
+ die("dwm-"VERSION", © 2006-2012 dwm engineers, see LICENSE fo… | |
else if(argc != 1) | |
die("usage: dwm [-v]\n"); | |
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) |