Lines Matching defs:xres
577 int xres;
617 xres = XChangeWindowAttributes(x_display, win, CWOverrideRedirect,
619 if (xres == BadAccess ||
620 xres == BadColor ||
621 xres == BadCursor ||
622 xres == BadMatch ||
623 xres == BadPixmap ||
624 xres == BadValue ||
625 xres == BadWindow) {
626 fprintf(stderr, "FAIL changing X win attribs: %d\n", xres);
634 xres = XSetWMHints(x_display, win, &hints);
635 if (xres == BadAlloc || xres == BadWindow) {
636 fprintf(stderr, "FAIL setting X WM hints: %d\n", xres);
640 xres = XMapWindow(x_display, win);
641 if (xres == BadAlloc || xres == BadWindow ) {
642 fprintf(stderr, "FAIL mapping X window: %d\n", xres);
646 xres = XStoreName(x_display, win, "GLES2 Texture Test");
647 if (xres == BadAlloc || xres == BadWindow) {
648 fprintf(stderr, "FAIL storing X window name: %d\n", xres);