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 | c47da143bdf5b4e3924a411f42648d4b3e86ff00 (diff) | |
download | dwm-efa7e514012865fcb3e9ea6e7d5b5c87d84353e5.tar.gz dwm-efa7e514012865fcb3e9ea6e7d5b5c87d84353e5.tar.bz2 dwm-efa7e514012865fcb3e9ea6e7d5b5c87d84353e5.zip |
several other additions/fixes, dwm is quite usable already
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 */ int screen, sx, sy, sw, sh, th; DC dc = {0}; -Client *cstart = NULL; -Client *cend = NULL; -Client *csel = NULL; +Client *clients = NULL; +Client *sel = NULL; static Bool other_wm_running; static const char version[] = @@ -169,8 +168,10 @@ startup_error_handler(Display *dpy, XErrorEvent *error) static void cleanup() { - while(csel) - unmanage(csel); + while(sel) { + resize(sel); + unmanage(sel); + } XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); } |