Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied Eckehard Berns fix fix, sorry that this took so long - dwm - [fork] cu…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 51336aa4a38e82cc796edce790a989298e817a5a
parent c4b6ac812e09c2dd0bb57ff76e8528b26a6ee9fd
Author: [email protected] <unknown>
Date: Wed, 8 Feb 2012 19:54:05 +0100
applied Eckehard Berns fix fix, sorry that this took so long
Diffstat:
M dwm.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -397,9 +397,10 @@ arrange(Monitor *m) {
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);
}
t@@ -408,7 +409,6 @@ arrangemon(Monitor *m) {
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
t@@ -1420,6 +1420,8 @@ 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;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.