ctrlbar.c:230:   Window win=xinfo->window;
ctrlbar.c:231:   Display *display=xinfo->display;
ctrlbar.c:338:     XMapRaised(xinfo->display, ctrlwindow);
ctrlbar.c:339:     XIfEvent(xinfo->display, &event, WindowMapped, (char *)(&ctrlwindow));
ctrlbar.c:343:     XUnmapWindow(xinfo->display, ctrlwindow);
ctrlbar.c:371:   Display *display=xinfo->display;
ctrlbar.c:378:   if (xinfo->ditherType == NO_DITHER) return;
ctrlbar.c:483:     XSetWMProtocols(display, xinfo->window, &delete_atom, 1);/* Video window */
gdith.c:301:   if (xinfo->ditherType == NO_DITHER || xinfo->ditherType == PPM_DITHER) return;
gdith.c:304:   XResizeWindow(xinfo->display, xinfo->window, w, h);
gdith.c:305:   XFlush(xinfo->display);
gdith.c:336:   char *hello = (xinfo->name == NULL) ? "MPEG Play" : xinfo->name;
gdith.c:344:   if ((xinfo->ditherType == NO_DITHER) ||
gdith.c:345:       (xinfo->ditherType == PPM_DITHER)) return 0;
gdith.c:348:   if (xinfo->display == NULL) {
gdith.c:349:     display = xinfo->display = XOpenDisplay(name);
gdith.c:350:     if (xinfo->display == NULL) {
gdith.c:355:   display = xinfo->display;
gdith.c:366:   if (xinfo->hints.width == 0) {
gdith.c:367:     xinfo->hints.width = 150;
gdith.c:368:     xinfo->hints.height = 150;
gdith.c:370:   xinfo->hints.x = xinfo->hints.x;
gdith.c:371:   xinfo->hints.y = xinfo->hints.y;
gdith.c:372:   xinfo->hints.flags = PPosition | PSize;
gdith.c:379:   if (xinfo->ExistingWindow) {
gdith.c:381:     xinfo->window = xinfo->ExistingWindow;
gdith.c:382:     if (!quietFlag) printf("Display is 0x%X, window is 0x%X\n", display, xinfo->window);
gdith.c:390:   if (xinfo->ditherType == FULL_COLOR_DITHER ||
gdith.c:391:       xinfo->ditherType == FULL_COLOR2_DITHER) {
gdith.c:394:     if (xinfo->window == 0) {
gdith.c:405:     if (xinfo->ditherType == MONO_DITHER ||
gdith.c:406: 	xinfo->ditherType == MONO_THRESHOLD) {
gdith.c:407:       xinfo->window = XCreateSimpleWindow (display,
gdith.c:409: 				    xinfo->hints.x, xinfo-> hints.y,
gdith.c:410: 				    xinfo->hints.width, xinfo->hints.height,
gdith.c:412:       xinfo->depth = 1;
gdith.c:418:       if (!XMatchVisualInfo (display, screen, xinfo->depth = 8, PseudoColor, 
gdith.c:420: 	if (xinfo->ditherType != GRAY_DITHER &&
gdith.c:421: 	    xinfo->ditherType != GRAY2_DITHER &&
gdith.c:422: 	    xinfo->ditherType != GRAY256_DITHER &&
gdith.c:423: 	    xinfo->ditherType != GRAY2562_DITHER) {
gdith.c:426: 	} else if (!XMatchVisualInfo(display, screen, xinfo->depth = 32,
gdith.c:428: 	           !XMatchVisualInfo(display, screen, xinfo->depth = 24,
gdith.c:430: 	           !XMatchVisualInfo(display, screen, xinfo->depth = 16,
gdith.c:432: 	           !XMatchVisualInfo(display, screen, xinfo->depth = 8,
gdith.c:434: 	           !XMatchVisualInfo(display, screen, xinfo->depth = 32,
gdith.c:436: 	           !XMatchVisualInfo(display, screen, xinfo->depth = 24,
gdith.c:438: 	           !XMatchVisualInfo(display, screen, xinfo->depth = 16,
gdith.c:450: 	xinfo->owncmFlag = TRUE; 
gdith.c:460:       xinfo->window = XCreateWindow (display,
gdith.c:462: 			      xinfo->hints.x, xinfo->hints.y,
gdith.c:463: 			      xinfo->hints.width, xinfo->hints.height, 4,
gdith.c:464: 			      xinfo->depth, InputOutput, vis,
gdith.c:469:   XSelectInput(display, xinfo->window, StructureNotifyMask);
gdith.c:472:   XSetStandardProperties (display, xinfo->window, hello,
gdith.c:473: 			  hello, None, NULL, 0, &xinfo->hints);
gdith.c:476:   XMapWindow(display, xinfo->window);
gdith.c:482:     if (xev.type == MapNotify && xev.xmap.event == xinfo->window) {
gdith.c:488:   XSelectInput(display, xinfo->window, ExposureMask | ButtonPressMask );
gdith.c:490:   XSelectInput(display, xinfo->window, NoEventMask);
gdith.c:527:   if ((xinfo->ditherType == NO_DITHER) || (xinfo->ditherType == PPM_DITHER))
gdith.c:535:     switch (xinfo->ditherType) {
gdith.c:546:       xinfo->ditherType = FULL_COLOR_DITHER;
gdith.c:548:       InitColorDither(xinfo->depth == 32);
gdith.c:569:     display = xinfo->display;
gdith.c:570:     xinfo->gc = XCreateGC(display, xinfo->window, 0, 0);
gdith.c:572:     dcmap = xinfo->cmap = XDefaultColormap(display, DefaultScreen(display));
gdith.c:576:     if (xinfo->owncmFlag) goto create_map;
gdith.c:591:     if ((xinfo != NULL) && (XAllocColor(display, xinfo->cmap, &xcolor) == 0 
gdith.c:592: 	&& xinfo->cmap == dcmap)) {
gdith.c:604:         XFreeColors(display, xinfo->cmap, &tmp_pixel, 1, 0);
gdith.c:608:       XGetWindowAttributes(display, xinfo->window, &xwa);
gdith.c:609:       xinfo->cmap = XCreateColormap(display, xinfo->window,
gdith.c:611:       XSetWindowColormap(display, xinfo->window, xinfo->cmap);
gdith.c:619:   xinfo->ximage = NULL;
gdith.c:654:   display=xinfo->display;
gdith.c:655:   window=xinfo->window;
gdith.c:657:   xinfo->gc = XCreateGC(display, window, 0, 0);
gdith.c:659:   dcmap = xinfo->cmap = XDefaultColormap(display, DefaultScreen(display));
gdith.c:663:   if (xinfo->owncmFlag) goto create_map;
gdith.c:669:     if(XAllocColor(display, xinfo->cmap, &xcolor) == 0 
gdith.c:670: 		   && xinfo->cmap == dcmap) {
gdith.c:682:         XFreeColors(display, xinfo->cmap, &tmp_pixel, 1, 0);
gdith.c:687:       xinfo->cmap = XCreateColormap(display, window, xwa.visual, AllocNone);
gdith.c:688:       XSetWindowColormap(display, window, xinfo->cmap);
gdith.c:696:     if(xinfo->depth == 8) {
gdith.c:700:     if(xinfo->depth == 8 || xinfo->depth == 16) {
gdith.c:705:     if(xinfo->depth == 8 || xinfo->depth == 16 || xinfo->depth == 24 ||
gdith.c:706:        xinfo->depth == 32) {
gdith.c:714:   xinfo->ximage = NULL;
gdith.c:750:   display=xinfo->display;
gdith.c:752:   xinfo->gc = XCreateGC(display, xinfo->window, 0, 0);
gdith.c:754:   dcmap = xinfo->cmap = XDefaultColormap(display, DefaultScreen(display));
gdith.c:758:   if (xinfo->owncmFlag) {
gdith.c:759:     XGetWindowAttributes(display, xinfo->window, &xwa);
gdith.c:760:     xinfo->cmap=XCreateColormap(display, xinfo->window, xwa.visual, AllocNone);
gdith.c:761:     XSetWindowColormap(display, xinfo->window, xinfo->cmap);
gdith.c:767:     if ((result = XAllocColor(display, xinfo->cmap, &xcolor)) == 0
gdith.c:768: 	 && xinfo->cmap == dcmap) {
gdith.c:779:         XFreeColors(display, xinfo->cmap, &tmp_pixel, 1, 0);
gdith.c:782:       XGetWindowAttributes(display, xinfo->window, &xwa);
gdith.c:783:       xinfo->cmap = XCreateColormap(display, xinfo->window, xwa.visual,
gdith.c:785:       XSetWindowColormap(display, xinfo->window, xinfo->cmap);
gdith.c:792:     if(xinfo->depth == 8)
gdith.c:796:     if(xinfo->depth == 8 || xinfo->depth == 16) {
gdith.c:803:     if(xinfo->depth == 8 || xinfo->depth == 16 || xinfo->depth == 24 
gdith.c:804:        || xinfo->depth == 32) {
gdith.c:811:   xinfo->ximage = NULL;
gdith.c:840:   display=xinfo->display;
gdith.c:845:   xinfo->gc = XCreateGC(display, xinfo->window,
gdith.c:849:   xinfo->ximage = NULL;
gdith.c:879:   if ((xinfo->ditherType == NO_DITHER) || (xinfo->ditherType == PPM_DITHER))
gdith.c:886:   if (xinfo->gc==0) {
gdith.c:887:     xinfo->gc = XCreateGC(xinfo->display, xinfo->window, 0, 0);
gdith.c:889:   xinfo->ximage = NULL;
gdith.c:891:   XGetWindowAttributes(xinfo->display, xinfo->window, &winattr);
gdith.c:942:   if (xinfo!=NULL) display=xinfo->display;
gdith.c:960:         UpdateFrameTotal(xinfo->display);
gdith.c:1047:   if (xinfo->ximage == NULL) {
gdith.c:1051:     if(IS_2x2_DITHER(xinfo->ditherType)) pixels_per_mb = 32;
gdith.c:1053:     if ((xinfo->ditherType == FULL_COLOR_DITHER) ||
gdith.c:1054: 	(xinfo->ditherType == FULL_COLOR2_DITHER)) {
gdith.c:1062:       xinfo->ximage = XCreateImage (display,
gdith.c:1067:     } else if (xinfo->ditherType == MONO_DITHER
gdith.c:1068: 	    || xinfo->ditherType == MONO_THRESHOLD) {
gdith.c:1069:       xinfo->ximage = XCreateImage (display,
gdith.c:1070: 			     None, xinfo->depth, XYBitmap, 0, &dummy,
gdith.c:1073:       xinfo->ximage->byte_order = MSBFirst;
gdith.c:1074:       xinfo->ximage->bitmap_bit_order = MSBFirst;
gdith.c:1076:       xinfo->ximage = XCreateImage(display,
gdith.c:1077: 		       None, xinfo->depth, ZPixmap, 0, &dummy,
gdith.c:1091:     xinfo->ximage->byte_order = LSBFirst;
gdith.c:1092:     xinfo->ximage->bitmap_bit_order = LSBFirst;
gdith.c:1094:     xinfo->ximage->byte_order = MSBFirst;
gdith.c:1095:     xinfo->ximage->bitmap_bit_order = MSBFirst;
gdith.c:1102: 			xinfo->window,
gdith.c:1103: 			xinfo->gc, vid_stream->current->ximage, 
gdith.c:1127:         xinfo->ximage->data = (char *) vid_stream->current->display; 
gdith.c:1129:         result=XPutImage(display, xinfo->window, xinfo->gc, xinfo->ximage,
gdith.c:1131: 		  xinfo->ximage->width,
gdith.c:1132: 		  xinfo->ximage->height);
gdith.c:1137:         UpdateFrameTotal(xinfo->display);
util32.c:143:   Display *dpy=xinfo->display;
util32.c:144:   int x = xinfo->hints.x,
util32.c:145:       y = xinfo->hints.y;
util32.c:146:   unsigned int w = xinfo->hints.width,
util32.c:147:                h = xinfo->hints.height;
util32.c:151:   if (xinfo->visual == NULL) {
util32.c:152:     xinfo->visual = visual = FindFullColorVisual (dpy, &depth);
util32.c:153:     xinfo->depth = depth;
util32.c:155:      visual=xinfo->visual;
util32.c:156:      depth=xinfo->depth;
util32.c:163:   if (xinfo->cmap==0) {
util32.c:167:   } else xswa.colormap = xinfo->cmap;
util32.c:171:   xinfo->window = XCreateWindow(dpy, RootWindow(dpy, screen), x, y, w, h,
video.c:918:   Display *display=xinfo->display;
video.c:960:       new->ximage = XShmCreateImage(display, None, xinfo->depth, ZPixmap, NULL,
video.c:1107:     if (xinfo!=NULL) XShmDetach(xinfo->display, &(apictimage->shminfo));
video.c:1458:   if (xinfo->display != NULL) {
video.c:1459:     InstallXErrorHandler(xinfo->display);
video.c:1469:   if (xinfo->display != NULL) {
video.c:1470:     DeInstallXErrorHandler(xinfo->display);
