1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 22:52:34 +01:00

workaround for 8bpp problem with std colormap creation

This commit is contained in:
kojima
2000-08-16 23:05:19 +00:00
parent 8c35d57144
commit d157320dfb

View File

@@ -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));