Introduction
Introduction Statistics Contact Development Disclaimer Help
tfixed focusmon brokeness - dwm - [fork] customized build of dwm, the dynamic w…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 64674c395b89f8d9640163cdcf9c8f4e25ba0e9c
parent b9dee2c6f172478b7a652cdf9d074ee0bd9acddc
Author: Anselm R Garbe <[email protected]>
Date: Sat, 27 Jun 2009 17:38:18 +0100
fixed focusmon brokeness
Diffstat:
M dwm.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -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);
- selmon = m;
- focus(NULL);
- }
+ if(m == selmon)
+ return;
+ unfocus(selmon->sel);
+ selmon = m;
+ focus(NULL);
drawbars();
break;
}
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.