[hackers] [dwm] applied Eckehard Berns fix fix, sorry that this took so long || anselm
changeset: 1595:a80071f71445
tag: tip
user: anselm_AT_garbe.us
date: Wed Feb 08 19:54:05 2012 +0100
files: dwm.c
description:
applied Eckehard Berns fix fix, sorry that this took so long
diff -r 5a0d6e5a8d50 -r a80071f71445 dwm.c
--- a/dwm.c Sun Jan 22 20:23:49 2012 +0100
+++ b/dwm.c Wed Feb 08 19:54:05 2012 +0100
_AT_@ -397,9 +397,10 @@
showhide(m->stack);
else for(m = mons; m; m = m->next)
showhide(m->stack);
- if(m)
+ if(m) {
arrangemon(m);
- else for(m = mons; m; m = m->next)
+ restack(m);
+ } else for(m = mons; m; m = m->next)
arrangemon(m);
}
_AT_@ -408,7 +409,6 @@
strncpy(m->ltsymbol, m->lt[m->sellt]->symbol, sizeof m->ltsymbol);
if(m->lt[m->sellt]->arrange)
m->lt[m->sellt]->arrange(m);
- restack(m);
}
void
_AT_@ -1420,6 +1420,8 @@
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;
Received on Wed Feb 08 2012 - 19:54:03 CET
This archive was generated by hypermail 2.3.0
: Wed Feb 08 2012 - 20:00:16 CET