Lines Matching refs:DPY_NUMBER
72 #define MajorOpCode(dpy) (Codes[DPY_NUMBER(dpy)] ? \
73 Codes[DPY_NUMBER(dpy)]->major_opcode : \
205 #define DPY_NUMBER(dpy) FindDpyNum(dpy)
207 #define DPY_NUMBER(dpy) ((dpy)->fd)
229 StatusProc[DPY_NUMBER(dpy)] = proc;
235 (*(StatusProc[DPY_NUMBER(dpy)]))(event);
242 ReadyProc[DPY_NUMBER(dpy)] = proc;
249 (*(ReadyProc[DPY_NUMBER(dpy)]))(event);
256 return(version[DPY_NUMBER(dpy)]);
263 int d = DPY_NUMBER(dpy);
274 return Codes[DPY_NUMBER(dpy)];
282 Codes[DPY_NUMBER(dpy)] = NULL;
286 dpys[DPY_NUMBER(dpy)] = NULL;
295 return displayFlags[DPY_NUMBER(dpy)].passEvents;
301 displayFlags[DPY_NUMBER(dpy)].passEvents = flag;
307 return displayFlags[DPY_NUMBER(dpy)].wrapWaiting;
313 displayFlags[DPY_NUMBER(dpy)].wrapWaiting = flag;
350 if (StatusProc[DPY_NUMBER(dpy)] && !XDPSLGetPassEventsFlag(dpy)) {
351 (*(StatusProc[DPY_NUMBER(dpy)]))((XEvent *) clientevent);
374 if (ReadyProc[DPY_NUMBER(dpy)] && !XDPSLGetPassEventsFlag(dpy)) {
375 (*(ReadyProc[DPY_NUMBER(dpy)]))((XEvent *) clientevent);
422 if ((codes = Codes[DPY_NUMBER(dpy)]) != NULL) {
424 *numberType = NumberType[DPY_NUMBER(dpy)];
426 *floatingName = FloatingName[DPY_NUMBER(dpy)];
441 NumberType[DPY_NUMBER(dpy)] = myNumberType;
442 FloatingName[DPY_NUMBER(dpy)] = myFloatingName;
450 Codes[DPY_NUMBER(dpy)] = codes;
451 ShuntMap[DPY_NUMBER(dpy)] = dpy;
518 version[DPY_NUMBER(dpy)] = rep.serverversion;
519 NumberType[DPY_NUMBER(dpy)] = rep.preferredNumberFormat;
526 FloatingName[DPY_NUMBER(dpy)] = ptr;
597 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
716 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
820 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
853 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
962 Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1002 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1036 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1072 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1116 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1162 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1201 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1243 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1329 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1390 if (version[DPY_NUMBER(dpy)] < DPSPROTO_V09)
1405 version[DPY_NUMBER(dpy)] = ver;
1411 Codes[DPY_NUMBER(dpy)] = codes;
1417 return(ShuntMap[DPY_NUMBER(dpy_in)]);
1423 ShuntMap[DPY_NUMBER(dpy_in)] = dpy_out;
1429 return (int)displayFlags[DPY_NUMBER(dpy)].syncMask;
1435 displayFlags[DPY_NUMBER(dpy)].syncMask = (char)mask;
1442 register Display *dpy = ShuntMap[DPY_NUMBER(xdpy)];
1454 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1479 dpys[DPY_NUMBER(dpy)] = dpy;
1497 old = gCSDPS->map[DPY_NUMBER(dpy)];
1498 gCSDPS->map[DPY_NUMBER(dpy)] = name;
1508 ClientMsgProc[DPY_NUMBER(dpy)] = XESetWireToEvent(
1518 AfterProcs[DPY_NUMBER(xdpy)] = (GenericProcPtrReturnsInt)
1527 XExtCodes *codes = Codes[DPY_NUMBER(dpy)];
1562 XExtCodes *codes = Codes[DPY_NUMBER(dpy)];
1678 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1711 register Display *dpy = ShuntMap[DPY_NUMBER(xdpy)];
1724 XExtCodes *codes = Codes[DPY_NUMBER(xdpy)];
1761 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1792 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1852 int dpyix = DPY_NUMBER(xdpy);
1870 int dpyix = DPY_NUMBER(xdpy);
1885 int dpyix = DPY_NUMBER(xdpy);
1912 register Display *agent = ShuntMap[dpyix = DPY_NUMBER(dpy)];
1927 return(GCFlushMode[DPY_NUMBER(dpy)]);
1936 register Display *dpy = ShuntMap[dpyix = DPY_NUMBER(xdpy)];
1972 XExtCodes *codes = Codes[DPY_NUMBER(dpy)];
1973 PSCMProc oldProc = ClientMsgProc[DPY_NUMBER(dpy)];
2036 if (StatusProc[DPY_NUMBER(dpy)])
2037 (*(StatusProc[DPY_NUMBER(dpy)]))((XEvent *) sce);
2119 register Display *dpy = ShuntMap[DPY_NUMBER(xdpy)];
2131 if ((proc = AfterProcs[DPY_NUMBER(xdpy)]) != NULL)
2147 slot = PausedPerDisplay[dpyix = DPY_NUMBER(xdpy)];
2193 int dpyix = DPY_NUMBER(xdpy);