fixed cleanup, using clients instead of sel
b5d297f0
1 file(s) · +3 −3
| 40 | 40 | static void |
|
| 41 | 41 | cleanup(void) { |
|
| 42 | 42 | close(STDIN_FILENO); |
|
| 43 | - | while(sel) { |
|
| 44 | - | resize(sel, True, TopLeft); |
|
| 45 | - | unmanage(sel); |
|
| 43 | + | while(clients) { |
|
| 44 | + | resize(clients, True, TopLeft); |
|
| 45 | + | unmanage(clients); |
|
| 46 | 46 | } |
|
| 47 | 47 | if(dc.font.set) |
|
| 48 | 48 | XFreeFontSet(dpy, dc.font.set); |