Lines Matching refs:codes
69 XExtCodes *codes;
78 #define XextHasExtension(i) (((i) != NULL) && ((i)->codes != NULL))
125 static int ia_close_display(Display *dpy, XExtCodes *codes)
145 static char *ia_error_string (Display *dpy, int err, XExtCodes *codes,
148 err -= codes->first_error;
173 di->codes = XInitExtension(dpy, ia_extension_name);
176 if (di->codes) { /* if the server has the extension */
177 XESetCloseDisplay(dpy, di->codes->extension, ia_close_display);
178 XESetErrorString(dpy, di->codes->extension, ia_error_string);
222 req->reqType = info->codes->major_opcode;
256 req->reqType = info->codes->major_opcode;
296 req->reqType = info->codes->major_opcode;