aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-11-03 21:20:48 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-11-03 21:20:48 +0100
commit3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9 (patch)
tree208f1e40bb811f2b4cc4d2479cb356aca886dfba /dwm.c
parent99f78fa553f9ddb23fab73e47a408d66ca7f974c (diff)
downloaddwm-3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9.tar.gz
sync dmenu drw.{c,h} code: use Clr* (was Scm)
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 650d19f..ff893df 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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 */