Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
12b1d43
)
fixed view-change bug reported on the list
author
[email protected]
<unknown>
Fri, 4 Aug 2006 16:17:02 +0000
(18:17 +0200)
committer
[email protected]
<unknown>
Fri, 4 Aug 2006 16:17:02 +0000
(18:17 +0200)
tag.c
patch
|
blob
|
history
diff --git
a/tag.c
b/tag.c
index
015a06a
..
72d87d3
100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-57,14
+57,12
@@
dofloat(Arg *arg)
else
ban(c);
}
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();
}
drawall();
}
@@
-122,14
+120,12
@@
dotile(Arg *arg)
else
ban(c);
}
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();
}
drawall();
}