*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
- make_smooth_colormap (st->dpy, xgwa.visual, xgwa.colormap, st->colors, &st->ncolors,
+ make_smooth_colormap (xgwa.screen, xgwa.visual, xgwa.colormap,
+ st->colors, &st->ncolors,
moire2_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
moire2_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
#ifdef HAVE_DOUBLE_BUFFER_EXTENSION
/* Off by default, since it slows it down a lot, and the flicker isn't really
#ifdef HAVE_DOUBLE_BUFFER_EXTENSION
/* Off by default, since it slows it down a lot, and the flicker isn't really