diff options
-rw-r--r-- | xts5/Xlib10/XInstallColormap.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xts5/Xlib10/XInstallColormap.m b/xts5/Xlib10/XInstallColormap.m index cabe836d..10d41179 100644 --- a/xts5/Xlib10/XInstallColormap.m +++ b/xts5/Xlib10/XInstallColormap.m @@ -207,6 +207,7 @@ Window base; Window w1, w2; Window w3nocm; XEvent ev; +Screen *screen; XColormapEvent good; XColormapEvent *cmp; int got; @@ -217,6 +218,13 @@ int got; good.new = False; good.state = ColormapInstalled; + screen = ScreenOfDisplay(display, DefaultScreen(display)); + if (MaxCmapsOfScreen(screen) > 1) { + untested("Cannot reliably test ColormapNotify when the server has implicit colormaps"); + report(" Server supports more than one installed colormap"); + return; + } + for (resetvinf(VI_WIN); nextvinf(&vp); ) { base = makewin(display, vp); |