diff --git a/util/wmsetbg.c b/util/wmsetbg.c index 0f404491..d77b4a8b 100644 --- a/util/wmsetbg.c +++ b/util/wmsetbg.c @@ -1429,6 +1429,12 @@ main(int argc, char **argv) rattr.standard_colormap_mode = RCreateStdColormap; rc = RCreateContext(dpy, scr, &rattr); + + if (!rc) { + rattr.standard_colormap_mode = RIgnoreStdColormap; + rc = RCreateContext(dpy, scr, &rattr); + } + if (!rc) { wfatal("could not initialize wrlib:", RMessageForError(RErrorCode));