if (!issel)
return;
Client *old = sel;
- XEvent ev;
sel = c;
if(old && old != c)
c->maxw == c->minw && c->maxh == c->minh);
settitle(c);
+ if(isvisible(c))
+ sel = c;
+ arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->title);
if(isvisible(c))
focus(c);
- arrange(NULL);
}
void