aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-06 12:10:43 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-06 12:10:43 +0200
commitc60de1acd47778b4835c14898fd8b1803537f9b3 (patch)
treeea7b397881cc08bfe8474efc94c35c46993a74f2
parent69b738c097d8f471873a227e8668d8a35014be3d (diff)
downloaddwm-c60de1acd47778b4835c14898fd8b1803537f9b3.tar.gz
drawstatus even if no client exists
-rw-r--r--view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/view.c b/view.c
index 3b5abba..e74d4bc 100644
--- a/view.c
+++ b/view.c
@@ -218,8 +218,10 @@ restack()
Client *c;
XEvent ev;
- if(!sel)
+ if(!sel) {
+ drawstatus();
return;
+ }
if(sel->isfloat || arrange == dofloat) {
XRaiseWindow(dpy, sel->win);
XRaiseWindow(dpy, sel->twin);