fixed focusmon brokeness

new_dwm
Anselm R Garbe 16 years ago
parent b9dee2c6f1
commit 64674c395b

@ -804,13 +804,11 @@ focusmon(const Arg *arg) {
for(i = 0, m = mons; m; m = m->next, i++)
if(i == arg->ui) {
if(m->stack)
focus(m->stack);
else {
unfocus(selmon->stack);
if(m == selmon)
return;
unfocus(selmon->sel);
selmon = m;
focus(NULL);
}
drawbars();
break;
}

Loading…
Cancel
Save