dwm-meillo
diff draw.c @ 687:a76799907854
removed client title bar
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Sun, 14 Jan 2007 22:27:29 +0100 |
parents | 4fd68b1485eb |
children | 39fa5308d73f |
line diff
1.1 --- a/draw.c Fri Jan 12 21:56:01 2007 +0100 1.2 +++ b/draw.c Sun Jan 14 22:27:29 2007 +0100 1.3 @@ -141,16 +141,10 @@ 1.4 drawclient(Client *c) { 1.5 if(c == sel && issel) { 1.6 drawstatus(); 1.7 - XUnmapWindow(dpy, c->twin); 1.8 XSetWindowBorder(dpy, c->win, dc.sel[ColBG]); 1.9 return; 1.10 } 1.11 XSetWindowBorder(dpy, c->win, dc.norm[ColBG]); 1.12 - XMapWindow(dpy, c->twin); 1.13 - dc.x = dc.y = 0; 1.14 - dc.w = c->tw; 1.15 - drawtext(c->name, dc.norm, False, False); 1.16 - XCopyArea(dpy, dc.drawable, c->twin, dc.gc, 0, 0, c->tw, c->th, 0, 0); 1.17 XSync(dpy, False); 1.18 } 1.19