- drawtext(sel->name, istile, False);
- }
- XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
- XSync(dpy, False);
-}
-
-void
-drawtitle(Client *c)
-{
- int i;
- Bool istile = arrange == dotile;
-
- if(c == sel && issel) {
- drawstatus();
- XUnmapWindow(dpy, c->twin);
- XSetWindowBorder(dpy, c->win, dc.fg[1]);
- return;
+ drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm, False, False);