Lines Matching defs:dpy
109 static int close_display(Display *dpy, XExtCodes *codes);
136 #define OvlCheckExtension(dpy,i,val) \
137 XextCheckExtension (dpy, i, ext_name, val)
138 #define OvlSimpleCheckExtension(dpy,i) \
139 XextSimpleCheckExtension (dpy, i, ext_name)
231 Display *dpy,
247 obj.screen = scr = ScreenOfDisplay(dpy, screen);
256 if (_XReply(dpy, (xReply *)(&rep), 0, xFalse)) {
273 _XRead(dpy, (char *)(&vidpair), sizeof(vidpair));
288 _XEatData(dpy, nbytes);
302 _XEatData(dpy, nbytes);
358 Display *dpy,
383 scrextdata = find_screendata(dpy, screen, info);
390 scr = ScreenOfDisplay(dpy, screen);
392 XmbufGetScreenInfo(dpy, RootWindow(dpy, screen),
435 Display *dpy,
466 scrextdata = find_screendata(dpy, screen, info);
473 scr = ScreenOfDisplay(dpy, screen);
479 if (_XReply(dpy, (xReply *)(&rep), 0, xFalse)) {
481 _XRead(dpy, (char *)(&pginfo), sizeof(pginfo));
536 Display *dpy,
565 scrextdata = find_screendata(dpy, screen, info);
572 scr = ScreenOfDisplay(dpy, screen);
578 if (_XReply(dpy, (xReply *)(&rep), 0, xFalse)) {
580 _XRead(dpy, (char *)(&clutinfo), sizeof(clutinfo));
633 Display *dpy,
694 && ( GetNumMBXBuffers(dpy, match->screen, vis, info)
701 && CheckSharedPixels(dpy, match->screen, match->searchtype,
708 && CheckSharedColors(dpy, match->screen,
802 Display *dpy,
807 XExtDisplayInfo *info = find_display(dpy);
821 Display *dpy,
825 XExtDisplayInfo *info = find_display(dpy);
829 OvlCheckExtension(dpy, info, 0);
831 LockDisplay(dpy);
835 if (!_XReply(dpy, (xReply *)(&rep), 0, xTrue)) {
836 UnlockDisplay(dpy);
842 UnlockDisplay(dpy);
850 Display *dpy,
864 XExtDisplayInfo *info = find_display(dpy);
871 OvlCheckExtension(dpy, info, (Window) 0);
873 LockDisplay(dpy);
890 wid = req->wid = XAllocID(dpy);
899 _XProcessWindowAttributes(dpy, (xChangeWindowAttributesReq *)req,
902 UnlockDisplay(dpy);
910 Display *dpy,
914 XExtDisplayInfo *info = find_display(dpy);
918 OvlCheckExtension(dpy, info, False);
920 LockDisplay(dpy);
925 if (_XReply (dpy, (xReply *)(&rep), 0, xTrue) == 0) {
928 UnlockDisplay(dpy);
936 Display *dpy,
939 XExtDisplayInfo *info = find_display(dpy);
942 OvlSimpleCheckExtension(dpy, info);
944 LockDisplay(dpy);
949 UnlockDisplay(dpy);
957 Display *dpy,
962 XExtDisplayInfo *info = find_display(dpy);
967 OvlCheckExtension(dpy, info, 0);
969 LockDisplay(dpy);
980 UnlockDisplay(dpy);
986 UnlockDisplay(dpy);
998 FlushGC(dpy, gc);
1005 UnlockDisplay(dpy);
1013 Display *dpy,
1017 XExtDisplayInfo *info = find_display(dpy);
1022 OvlCheckExtension(dpy, info, XSolarisOvlPaintOpaque);
1024 LockDisplay(dpy);
1030 UnlockDisplay(dpy);
1038 Display *dpy,
1052 XExtDisplayInfo *info = find_display(dpy);
1055 OvlCheckExtension(dpy, info, 0);
1057 LockDisplay(dpy);
1058 FlushGC(dpy, gc);
1073 UnlockDisplay(dpy);
1081 Display *dpy,
1101 XExtDisplayInfo *info = find_display(dpy);
1104 OvlCheckExtension(dpy, info, 0);
1106 LockDisplay(dpy);
1107 FlushGC(dpy, colorGC);
1109 FlushGC(dpy, paintTypeGC);
1131 UnlockDisplay(dpy);
1139 Display *dpy,
1148 XExtDisplayInfo *info = find_display(dpy);
1155 OvlCheckExtension(dpy, info, NULL);
1157 LockDisplay(dpy);
1168 if ( (_XReply(dpy, (xReply *)(&rep), 0, xFalse) == 0)
1171 UnlockDisplay(dpy);
1182 _XEatDataWords(dpy, rep.length);
1183 UnlockDisplay(dpy);
1187 _XReadPad (dpy, data, nbytes);
1188 image = XCreateImage(dpy, None,
1190 dpy->bitmap_pad, 0);
1198 UnlockDisplay(dpy);
1206 Display *dpy,
1216 XExtDisplayInfo *info = find_display(dpy);
1231 OvlCheckExtension(dpy, info, XSolarisOvlFailure);
1233 LockDisplay(dpy);
1234 scr = ScreenOfDisplay(dpy, screen);
1235 scrextdata = find_screendata(dpy, screen, info);
1237 UnlockDisplay(dpy);
1245 UnlockDisplay(dpy);
1264 ComputeVisualMatch(dpy, &curMatch, pCriteria, info);
1267 UnlockDisplay(dpy);
1285 ComputeVisualMatch(dpy, &curMatch, pCriteria, info);
1288 UnlockDisplay(dpy);
1300 UnlockDisplay(dpy);
1310 UnlockDisplay(dpy);
1318 Display *dpy,
1327 XExtDisplayInfo *info = find_display(dpy);
1338 OvlCheckExtension(dpy, info, XSolarisOvlFailure);
1339 LockDisplay(dpy);
1340 scr = ScreenOfDisplay(dpy, screen);
1341 scrextdata = find_screendata(dpy, screen, info);
1343 UnlockDisplay(dpy);
1360 ComputeVisualMatch(dpy, &curOvMatch,
1362 ComputeVisualMatch(dpy, &curUnMatch,
1367 UnlockDisplay(dpy);
1397 ComputeVisualMatch(dpy, &curOvMatch,
1399 ComputeVisualMatch(dpy, &curUnMatch,
1404 UnlockDisplay(dpy);
1422 UnlockDisplay(dpy);
1436 UnlockDisplay(dpy);