aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
Client *c;
XEvent ev;
- if(!sel) {
- drawstatus();
+ drawstatus();
+ if(!sel)
return;
- }
if(sel->isfloat || arrange == dofloat)
XRaiseWindow(dpy, sel->win);
if(arrange != dofloat) {