summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/view.c b/view.c
index bc1f4e2..fd07fc5 100644
--- a/view.c
+++ b/view.c
@@ -185,10 +185,9 @@ restack(void) {
185 Client *c; 185 Client *c;
186 XEvent ev; 186 XEvent ev;
187 187
188 if(!sel) { 188 drawstatus();
189 drawstatus(); 189 if(!sel)
190 return; 190 return;
191 }
192 if(sel->isfloat || arrange == dofloat) 191 if(sel->isfloat || arrange == dofloat)
193 XRaiseWindow(dpy, sel->win); 192 XRaiseWindow(dpy, sel->win);
194 if(arrange != dofloat) { 193 if(arrange != dofloat) {