On Tue, Dec 26, 2000 at 06:37:10PM +0100, Johannes Zellner wrote:
>
> printing the priv->xwin:
>
[...]
> cmap_first = 40,
> cmap_last = 1310976
[...]
>
> Note, that the visual is just beeing created, but
>
> cmap_first = 40
> cmap_last = 1310976
>
> so I guess this is an initialization problem.
[...]
here's a fix to initialize the two variables correctly:
libggi/display/X/visual.c:185
priv->xwin.x.cmap = 0;
+ priv->xwin.cmap_first = 0;
+ priv->xwin.cmap_last = 0;
maybe this must also be applied in Xlib/visual.c ? -- I don't
know how Xlib and X are related. Anyway...
--
Johannes