Mercurial > dwm-meillo
comparison draw.c @ 30:2e0fb4130bfb
new stuff, fixed several issues
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Wed, 12 Jul 2006 17:50:31 +0200 |
parents | e8f627998d6f |
children | 082c75b937b5 |
comparison
equal
deleted
inserted
replaced
29:8ad86d0a6a53 | 30:2e0fb4130bfb |
---|---|
37 XRectangle r = { b->x, b->y, b->w, b->h }; | 37 XRectangle r = { b->x, b->y, b->w, b->h }; |
38 | 38 |
39 XSetForeground(dpy, b->gc, b->bg); | 39 XSetForeground(dpy, b->gc, b->bg); |
40 XFillRectangles(dpy, b->drawable, b->gc, &r, 1); | 40 XFillRectangles(dpy, b->drawable, b->gc, &r, 1); |
41 | 41 |
42 w = 0; | |
42 if(border) | 43 if(border) |
43 drawborder(dpy, b); | 44 drawborder(dpy, b); |
44 | 45 |
45 if(!text) | 46 if(!text) |
46 return; | 47 return; |