aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-14 22:27:29 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-14 22:27:29 +0100
commit6c5dc7017cff322b6402b3849c07529f5ab916fe (patch)
tree61c780a0c3c53bae1ba2566ae7a70654478602ee /draw.c
parentae0b4fdd92bc787f14ee21f1dd5c2ced06c6a36f (diff)
downloaddwm-6c5dc7017cff322b6402b3849c07529f5ab916fe.tar.gz
removed client title bar
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);
}
remember that computers suck.