diff options
Diffstat (limited to '')
| -rw-r--r-- | main.c | 11 |
1 files changed, 6 insertions, 5 deletions
| @@ -38,8 +38,9 @@ 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 *clients = NULL; | 41 | Client *cstart = NULL; |
| 42 | Client *stack = NULL; | 42 | Client *cend = NULL; |
| 43 | Client *csel = NULL; | ||
| 43 | 44 | ||
| 44 | static Bool other_wm_running; | 45 | static Bool other_wm_running; |
| 45 | static const char version[] = | 46 | static const char version[] = |
| @@ -168,13 +169,13 @@ startup_error_handler(Display *dpy, XErrorEvent *error) | |||
| 168 | static void | 169 | static void |
| 169 | cleanup() | 170 | cleanup() |
| 170 | { | 171 | { |
| 171 | while(clients) | 172 | while(csel) |
| 172 | unmanage(clients); | 173 | unmanage(csel); |
| 173 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); | 174 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); |
| 174 | } | 175 | } |
| 175 | 176 | ||
| 176 | void | 177 | void |
| 177 | quit(void *aux) | 178 | quit(Arg *arg) |
| 178 | { | 179 | { |
| 179 | running = False; | 180 | running = False; |
| 180 | } | 181 | } |
