JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed client title bar
[dwm.git] / draw.c
diff --git a/draw.c b/draw.c
index 9a469f9..0ee362c 100644 (file)
--- a/draw.c
+++ b/draw.c
@@ -120,7 +120,7 @@ drawstatus(void) {
                dc.x += dc.w;
        }
        dc.w = bmw;
-       drawtext(arrange == dofloat ?  FLOATSYMBOL : TILESYMBOL, dc.status, False, False);
+       drawtext(mtext, dc.status, False, False);
        x = dc.x + dc.w;
        dc.w = textw(stext);
        dc.x = bw - dc.w;
@@ -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);
 }