comparison view.c @ 437:433a5c662f73

drawstatus even if no client exists
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 06 Sep 2006 12:10:43 +0200
parents b3659c3c5dab
children 056a5072c70a
comparison
equal deleted inserted replaced
436:b3659c3c5dab 437:433a5c662f73
216 restack() 216 restack()
217 { 217 {
218 Client *c; 218 Client *c;
219 XEvent ev; 219 XEvent ev;
220 220
221 if(!sel) 221 if(!sel) {
222 return; 222 drawstatus();
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);
226 } 228 }
227 if(arrange != dofloat) 229 if(arrange != dofloat)