Lines Matching defs:xnestDisplay
39 Display *xnestDisplay = NULL;
85 xnestDisplay = XOpenDisplay(xnestDisplayName);
86 if (xnestDisplay == NULL)
91 XSynchronize(xnestDisplay, True);
94 vi.screen = DefaultScreen(xnestDisplay);
95 xnestVisuals = XGetVisualInfo(xnestDisplay, mask, &vi, &xnestNumVisuals);
114 vi.visualid = XVisualIDFromVisual(DefaultVisual(xnestDisplay,
116 (xnestDisplay)));
127 xnestDefaultColormaps[i] = XCreateColormap(xnestDisplay,
129 (xnestDisplay),
133 xnestDepths = XListDepths(xnestDisplay, DefaultScreen(xnestDisplay),
136 xnestPixmapFormats = XListPixmapFormats(xnestDisplay,
139 xnestBlackPixel = BlackPixel(xnestDisplay, DefaultScreen(xnestDisplay));
140 xnestWhitePixel = WhitePixel(xnestDisplay, DefaultScreen(xnestDisplay));
155 XCreatePixmap(xnestDisplay, DefaultRootWindow(xnestDisplay),
159 xnestBitmapGC = XCreateGC(xnestDisplay, xnestDefaultDrawables[1], 0L, NULL);
169 xnestWidth = 3 * DisplayWidth(xnestDisplay,
170 DefaultScreen(xnestDisplay)) / 4;
173 xnestHeight = 3 * DisplayHeight(xnestDisplay,
174 DefaultScreen(xnestDisplay)) / 4;
181 XCreateBitmapFromData(xnestDisplay,
182 DefaultRootWindow(xnestDisplay),
186 XCreatePixmapFromBitmapData(xnestDisplay,
187 DefaultRootWindow(xnestDisplay),
193 DefaultDepth(xnestDisplay,
194 DefaultScreen(xnestDisplay)));
200 if (!xnestDoFullGeneration || !xnestDisplay)
212 XCloseDisplay(xnestDisplay);