diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-06 10:03:21 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-06 10:03:21 +0200 |
| commit | f18ed615ae7beb9eb6420510c83beb847d875bcb (patch) | |
| tree | 302e350412ee2d1b7a4abc1c4126e3de3df0864c | |
| parent | made args mode symbols the default ones (the default ones look too ugly) (diff) | |
| download | dwm-f18ed615ae7beb9eb6420510c83beb847d875bcb.tar.gz dwm-f18ed615ae7beb9eb6420510c83beb847d875bcb.zip | |
small fix
Diffstat (limited to '')
| -rw-r--r-- | main.c | 1 | ||||
| -rw-r--r-- | view.c | 4 |
2 files changed, 3 insertions, 2 deletions
| @@ -55,6 +55,7 @@ cleanup() | |||
| 55 | XDestroyWindow(dpy, barwin); | 55 | XDestroyWindow(dpy, barwin); |
| 56 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); | 56 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); |
| 57 | XSync(dpy, False); | 57 | XSync(dpy, False); |
| 58 | free(seltag); | ||
| 58 | } | 59 | } |
| 59 | 60 | ||
| 60 | static void | 61 | static void |
| @@ -41,7 +41,7 @@ reorder() | |||
| 41 | static Client * | 41 | static Client * |
| 42 | nexttiled(Client *c) | 42 | nexttiled(Client *c) |
| 43 | { | 43 | { |
| 44 | for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); | 44 | for(c = getnext(c); c && c->isfloat; c = getnext(c->next)); |
| 45 | return c; | 45 | return c; |
| 46 | } | 46 | } |
| 47 | 47 | ||
| @@ -325,7 +325,7 @@ zoom(Arg *arg) | |||
| 325 | return; | 325 | return; |
| 326 | 326 | ||
| 327 | if((c = sel) == nexttiled(clients)) | 327 | if((c = sel) == nexttiled(clients)) |
| 328 | if(!(c = nexttiled(c))) | 328 | if(!(c = nexttiled(c->next))) |
| 329 | return; | 329 | return; |
| 330 | detach(c); | 330 | detach(c); |
| 331 | c->next = clients; | 331 | c->next = clients; |
