aboutsummaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/draw.c b/draw.c
index ba99ee0..0ee362c 100644
--- a/draw.c
+++ b/draw.c
@@ -141,16 +141,10 @@ void
drawclient(Client *c) {
if(c == sel && issel) {
drawstatus();
- XUnmapWindow(dpy, c->twin);
XSetWindowBorder(dpy, c->win, dc.sel[ColBG]);
return;
}
XSetWindowBorder(dpy, c->win, dc.norm[ColBG]);
- XMapWindow(dpy, c->twin);
- dc.x = dc.y = 0;
- dc.w = c->tw;
- drawtext(c->name, dc.norm, False, False);
- XCopyArea(dpy, dc.drawable, c->twin, dc.gc, 0, 0, c->tw, c->th, 0, 0);
XSync(dpy, False);
}