diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 11:43:05 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 11:43:05 +0200 |
commit | 9e8b3258a06de01c53e60243ffe3419b47d016dd (patch) | |
tree | a39ebed6cc97e75dc71f7ffb54ebb66342fef48d /main.c | |
parent | 44f2e8b952264311887c3b51dc6a987af226062a (diff) | |
download | dwm-9e8b3258a06de01c53e60243ffe3419b47d016dd.tar.gz dwm-9e8b3258a06de01c53e60243ffe3419b47d016dd.zip |
changed default colors
Diffstat (limited to '')
-rw-r--r-- | main.c (renamed from wm.c) | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -11,7 +11,7 @@ #include <X11/Xatom.h> #include <X11/Xproto.h> -#include "wm.h" +#include "dwm.h" /********** CUSTOMIZE **********/ @@ -244,10 +244,12 @@ main(int argc, char *argv[]) update_keys(); /* style */ - initcolors(BGCOLOR, FGCOLOR, BORDERCOLOR); - initfont(&dc.font, FONT); + dc.bg = initcolor(BGCOLOR); + dc.fg = initcolor(FGCOLOR); + dc.border = initcolor(BORDERCOLOR); + initfont(FONT); - th = texth(&dc.font); + th = dc.font.height + 4; dc.drawable = XCreatePixmap(dpy, root, sw, th, DefaultDepth(dpy, screen)); dc.gc = XCreateGC(dpy, root, 0, 0); |