summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client.c1
-rw-r--r--tag.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/client.c b/client.c
index ecfd8f0..8d5ea30 100644
--- a/client.c
+++ b/client.c
@@ -52,7 +52,6 @@ focus(Client *c)
52 if (!issel) 52 if (!issel)
53 return; 53 return;
54 Client *old = sel; 54 Client *old = sel;
55 XEvent ev;
56 55
57 sel = c; 56 sel = c;
58 if(old && old != c) 57 if(old && old != c)
diff --git a/tag.c b/tag.c
index 01979d5..c4d3b34 100644
--- a/tag.c
+++ b/tag.c
@@ -211,8 +211,10 @@ restack()
211 else 211 else
212 m++; 212 m++;
213 } 213 }
214 214 if(!(n = 2 * (f + m))) {
215 n = 2 * (f + m); 215 drawstatus();
216 return;
217 }
216 if(nwins < n) { 218 if(nwins < n) {
217 nwins = n; 219 nwins = n;
218 wins = erealloc(wins, nwins * sizeof(Window)); 220 wins = erealloc(wins, nwins * sizeof(Window));