Lines Matching defs:vinfo
54 XVisualInfo *vinfo);
55 static void create_colormap(Display *display, XVisualInfo *vinfo,
106 XVisualInfo *vinfo;
127 vinfo = NULL;
128 while (!vinfo && (v < num_visuals))
131 vinfo = &available_visuals[v];
134 if (vinfo)
135 if (vinfo->visualid == default_visualid) {
140 alloc_cmap_for_visual(display, screen, vinfo);
173 XVisualInfo *vinfo)
181 visual_class_name(vinfo->class), vinfo->depth);
185 if ((allocated_cmaps[c].visualid == vinfo->visualid) &&
200 create_colormap(display, vinfo, &new_cmap);
216 XVisualInfo *vinfo,
223 colormap = XCreateColormap(display, RootWindow(display, vinfo->screen),
224 vinfo->visual, AllocNone);
239 std_colormap->visualid = vinfo->visualid;