sync dmenu drw.{c,h} code: use Clr* (was Scm)

This commit is contained in:
Hiltjo Posthuma
2017-11-03 21:20:48 +01:00
parent 99f78fa553
commit 3756f7f6b8
3 changed files with 13 additions and 13 deletions

4
dwm.c
View File

@ -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 */