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 | gettextprop: check result of XGetTextProperty (undefined behaviour for XFree) (diff) | |
| download | dwm-3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9.tar.gz dwm-3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9.zip | |
sync dmenu drw.{c,h} code: use Clr* (was Scm)
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -263,7 +263,7 @@ static void (*handler[LASTEvent]) (XEvent *) = { | |||
| 263 | static Atom wmatom[WMLast], netatom[NetLast]; | 263 | static Atom wmatom[WMLast], netatom[NetLast]; |
| 264 | static int running = 1; | 264 | static int running = 1; |
| 265 | static Cur *cursor[CurLast]; | 265 | static Cur *cursor[CurLast]; |
| 266 | static Scm *scheme; | 266 | static Clr **scheme; |
| 267 | static Display *dpy; | 267 | static Display *dpy; |
| 268 | static Drw *drw; | 268 | static Drw *drw; |
| 269 | static Monitor *mons, *selmon; | 269 | static Monitor *mons, *selmon; |
| @@ -1568,7 +1568,7 @@ setup(void) | |||
| 1568 | cursor[CurResize] = drw_cur_create(drw, XC_sizing); | 1568 | cursor[CurResize] = drw_cur_create(drw, XC_sizing); |
| 1569 | cursor[CurMove] = drw_cur_create(drw, XC_fleur); | 1569 | cursor[CurMove] = drw_cur_create(drw, XC_fleur); |
| 1570 | /* init appearance */ | 1570 | /* init appearance */ |
| 1571 | scheme = ecalloc(LENGTH(colors), sizeof(Scm)); | 1571 | scheme = ecalloc(LENGTH(colors), sizeof(Clr *)); |
| 1572 | for (i = 0; i < LENGTH(colors); i++) | 1572 | for (i = 0; i < LENGTH(colors); i++) |
| 1573 | scheme[i] = drw_scm_create(drw, colors[i], 3); | 1573 | scheme[i] = drw_scm_create(drw, colors[i], 3); |
| 1574 | /* init bars */ | 1574 | /* init bars */ |
