diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 18:21:38 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 18:21:38 +0200 |
| commit | efa7e514012865fcb3e9ea6e7d5b5c87d84353e5 (patch) | |
| tree | 0de62a03a41d3c374abaad67146b9caf3c854615 /main.c | |
| parent | implemented tagging a client (diff) | |
| download | dwm-efa7e514012865fcb3e9ea6e7d5b5c87d84353e5.tar.gz dwm-efa7e514012865fcb3e9ea6e7d5b5c87d84353e5.zip | |
several other additions/fixes, dwm is quite usable already
Diffstat (limited to '')
| -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 | ||
