diff options
Diffstat (limited to '')
| -rw-r--r-- | client.c | 1 | ||||
| -rw-r--r-- | tag.c | 6 |
2 files changed, 4 insertions, 3 deletions
| @@ -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) |
| @@ -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)); |
