diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 23:18:30 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 23:18:30 +0200 |
commit | 83d23908d3438d7f1f62533a7c8d96fc1019df55 (patch) | |
tree | 5e6cead0c83f19f95157cd9fed95aa4ccb714c5f /wm.c | |
parent | a05beb6585713aeb661cf30c080e77fbfdb28867 (diff) | |
download | dwm-83d23908d3438d7f1f62533a7c8d96fc1019df55.tar dwm-83d23908d3438d7f1f62533a7c8d96fc1019df55.tar.gz dwm-83d23908d3438d7f1f62533a7c8d96fc1019df55.tar.bz2 |
implemented draw_client stuff
Diffstat (limited to 'wm.c')
-rw-r--r-- | wm.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -245,10 +245,6 @@ main(int argc, char *argv[]) update_keys(); - brush.drawable = XCreatePixmap(dpy, root, rect.width, rect.height, - DefaultDepth(dpy, screen)); - brush.gc = XCreateGC(dpy, root, 0, 0); - /* style */ loadcolors(dpy, screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR); loadfont(dpy, &brush.font, FONT); @@ -266,6 +262,11 @@ main(int argc, char *argv[]) CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); XDefineCursor(dpy, barwin, cursor[CurNormal]); XMapRaised(dpy, barwin); + + brush.drawable = XCreatePixmap(dpy, root, rect.width, barrect.height, + DefaultDepth(dpy, screen)); + brush.gc = XCreateGC(dpy, root, 0, 0); + pipe_spawn(statustext, sizeof(statustext), dpy, (char **)status); draw_bar(); |