diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-11-03 21:20:48 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-11-03 21:20:48 +0100 |
commit | 3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9 (patch) | |
tree | 208f1e40bb811f2b4cc4d2479cb356aca886dfba /dwm.c | |
parent | 99f78fa553f9ddb23fab73e47a408d66ca7f974c (diff) | |
download | dwm-3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9.tar.gz |
sync dmenu drw.{c,h} code: use Clr* (was Scm)
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -263,7 +263,7 @@ static void (*handler[LASTEvent]) (XEvent *) = { static Atom wmatom[WMLast], netatom[NetLast]; static int running = 1; static Cur *cursor[CurLast]; -static Scm *scheme; +static Clr **scheme; static Display *dpy; static Drw *drw; static Monitor *mons, *selmon; @@ -1568,7 +1568,7 @@ setup(void) cursor[CurResize] = drw_cur_create(drw, XC_sizing); cursor[CurMove] = drw_cur_create(drw, XC_fleur); /* init appearance */ - scheme = ecalloc(LENGTH(colors), sizeof(Scm)); + scheme = ecalloc(LENGTH(colors), sizeof(Clr *)); for (i = 0; i < LENGTH(colors); i++) scheme[i] = drw_scm_create(drw, colors[i], 3); /* init bars */ |