diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-06 12:10:43 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-06 12:10:43 +0200 |
| commit | c60de1acd47778b4835c14898fd8b1803537f9b3 (patch) | |
| tree | ea7b397881cc08bfe8474efc94c35c46993a74f2 /view.c | |
| parent | sanders solution is convincing and elegant (diff) | |
| download | dwm-c60de1acd47778b4835c14898fd8b1803537f9b3.tar.gz dwm-c60de1acd47778b4835c14898fd8b1803537f9b3.zip | |
drawstatus even if no client exists
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -218,8 +218,10 @@ restack() | |||
| 218 | Client *c; | 218 | Client *c; |
| 219 | XEvent ev; | 219 | XEvent ev; |
| 220 | 220 | ||
| 221 | if(!sel) | 221 | if(!sel) { |
| 222 | drawstatus(); | ||
| 222 | return; | 223 | return; |
| 224 | } | ||
| 223 | if(sel->isfloat || arrange == dofloat) { | 225 | if(sel->isfloat || arrange == dofloat) { |
| 224 | XRaiseWindow(dpy, sel->win); | 226 | XRaiseWindow(dpy, sel->win); |
| 225 | XRaiseWindow(dpy, sel->twin); | 227 | XRaiseWindow(dpy, sel->twin); |
