diff options
author | arg@10ksloc.org <unknown> | 2006-08-04 18:17:02 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-04 18:17:02 +0200 |
commit | 3d73084b5ef25bca354b32e049b2904aa9519c09 (patch) | |
tree | e052d494cf2f7e1c32287d5582a22285c5518db4 /tag.c | |
parent | 12b1d439e46e7881942a6d378b3b874c4c9f7555 (diff) | |
download | dwm-3d73084b5ef25bca354b32e049b2904aa9519c09.tar dwm-3d73084b5ef25bca354b32e049b2904aa9519c09.tar.gz dwm-3d73084b5ef25bca354b32e049b2904aa9519c09.tar.bz2 |
fixed view-change bug reported on the list
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -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, CurrentTime); + if((sel = getnext(clients))) { + higher(sel); + focus(sel); } + else + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); drawall(); } @@ -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, CurrentTime); + if((sel = getnext(clients))) { + higher(sel); + focus(sel); } + else + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); drawall(); } |