diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 11 |
1 files changed, 6 insertions, 5 deletions
| @@ -38,9 +38,8 @@ int tsel = Tdev; /* default tag */ | |||
| 38 | int screen, sx, sy, sw, sh, th; | 38 | int screen, sx, sy, sw, sh, th; |
| 39 | 39 | ||
| 40 | DC dc = {0}; | 40 | DC dc = {0}; |
| 41 | Client *cstart = NULL; | 41 | Client *clients = NULL; |
| 42 | Client *cend = NULL; | 42 | Client *sel = NULL; |
| 43 | Client *csel = NULL; | ||
| 44 | 43 | ||
| 45 | static Bool other_wm_running; | 44 | static Bool other_wm_running; |
| 46 | static const char version[] = | 45 | static const char version[] = |
| @@ -169,8 +168,10 @@ startup_error_handler(Display *dpy, XErrorEvent *error) | |||
| 169 | static void | 168 | static void |
| 170 | cleanup() | 169 | cleanup() |
| 171 | { | 170 | { |
| 172 | while(csel) | 171 | while(sel) { |
| 173 | unmanage(csel); | 172 | resize(sel); |
| 173 | unmanage(sel); | ||
| 174 | } | ||
| 174 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); | 175 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); |
| 175 | } | 176 | } |
| 176 | 177 | ||
