Searched refs:num_visuals (Results 1 – 2 of 2) sorted by relevance
39 int num_visuals; in XCreateDrawable() local54 pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals); in XCreateDrawable()56 if (!pdp->visinfo || num_visuals == 0) in XCreateDrawable()
563 int num_visuals; in CallCreateNewScreen() local568 visuals = XGetVisualInfo(dpy, mask, &templ, &num_visuals); in CallCreateNewScreen()571 if (num_visuals > 0 && visuals->depth != DefaultDepth(dpy, scrn)) in CallCreateNewScreen()