tfixed view-change bug reported on the list - dwm - [fork] customized build of … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3d73084b5ef25bca354b32e049b2904aa9519c09 | |
parent 12b1d439e46e7881942a6d378b3b874c4c9f7555 | |
Author: [email protected] <unknown> | |
Date: Fri, 4 Aug 2006 18:17:02 +0200 | |
fixed view-change bug reported on the list | |
Diffstat: | |
M tag.c | 24 ++++++++++-------------- | |
1 file changed, 10 insertions(+), 14 deletions(-) | |
--- | |
diff --git a/tag.c b/tag.c | |
t@@ -57,14 +57,12 @@ dofloat(Arg *arg) | |
else | |
ban(c); | |
} | |
- if(sel && !sel->tags[tsel]) { | |
- if((sel = getnext(clients))) { | |
- higher(sel); | |
- focus(sel); | |
- } | |
- else | |
- XSetInputFocus(dpy, root, RevertToPointerRoot, Current… | |
+ if((sel = getnext(clients))) { | |
+ higher(sel); | |
+ focus(sel); | |
} | |
+ else | |
+ XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); | |
drawall(); | |
} | |
t@@ -122,14 +120,12 @@ dotile(Arg *arg) | |
else | |
ban(c); | |
} | |
- if(!sel || (sel && !sel->tags[tsel])) { | |
- if((sel = getnext(clients))) { | |
- higher(sel); | |
- focus(sel); | |
- } | |
- else | |
- XSetInputFocus(dpy, root, RevertToPointerRoot, Current… | |
+ if((sel = getnext(clients))) { | |
+ higher(sel); | |
+ focus(sel); | |
} | |
+ else | |
+ XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); | |
drawall(); | |
} | |