rem: if (!XGetWMColormapWindows(dpy, wwin->client_win, &(wwin->cmap_windows), &(wwin->cmap_window_no))) {
add: wwin->cmap_windows = NULL; wwin->cmap_window_no = 0;  if (XGetWMColormapWindows(dpy, wwin->client_win, &(wwin->cmap_windows), &(wwin->cmap_window_no))!=Success) {
context: GetColormapWindows(WWindow *wwin){    if (wwin->cmap_windows) {	XFree(wwin->cmap_windows);    }    if (!XGetWMColormapWindows(dpy, wwin->client_win, &(wwin->cmap_windows),			       &(wwin->cmap_window_no))) {	wwin->cmap_window_no = 0;	wwin->cmap_windows = NULL;    }}