summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/view.c b/view.c
index 3b5abbaa..e74d4bc9 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);