summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tag.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/tag.c b/tag.c
index 015a06a..72d87d3 100644
--- a/tag.c
+++ b/tag.c
@@ -57,14 +57,12 @@ dofloat(Arg *arg)
57 else 57 else
58 ban(c); 58 ban(c);
59 } 59 }
60 if(sel && !sel->tags[tsel]) { 60 if((sel = getnext(clients))) {
61 if((sel = getnext(clients))) { 61 higher(sel);
62 higher(sel); 62 focus(sel);
63 focus(sel);
64 }
65 else
66 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
67 } 63 }
64 else
65 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
68 drawall(); 66 drawall();
69} 67}
70 68
@@ -122,14 +120,12 @@ dotile(Arg *arg)
122 else 120 else
123 ban(c); 121 ban(c);
124 } 122 }
125 if(!sel || (sel && !sel->tags[tsel])) { 123 if((sel = getnext(clients))) {
126 if((sel = getnext(clients))) { 124 higher(sel);
127 higher(sel); 125 focus(sel);
128 focus(sel);
129 }
130 else
131 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
132 } 126 }
127 else
128 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
133 drawall(); 129 drawall();
134} 130}
135 131