Lines Matching refs:dpy

94      Display *dpy,
104 Display *dpy,
118 if ((XGetWindowProperty(dpy, w, prop, 0, largest_len, False, type,
136 GetAgentIdList returns a list of agents advertising on the passed display (dpy),
140 dpy (ie. it assumes that the caller has done an XGrabServer).
144 Display *dpy,
147 Atom serverListAtom = XInternAtom(dpy, XDPSNX_BILLBOARD_PROP, True);
153 if (serverListAtom == None) { /* Servers registered on dpy */
157 XSync(dpy, False); /* force processing of pending requests */
159 if (GetProperty(dpy, RootWindow(dpy, DefaultScreen(dpy)),
183 if (GetProperty(dpy, agents[i],
184 XInternAtom(dpy, XDPSNX_WILLINGNESS_PROP, True),
213 (void) XChangeProperty(dpy, RootWindow(dpy, DefaultScreen(dpy)),
217 (void) XDeleteProperty(dpy, RootWindow(dpy, DefaultScreen(dpy)),
236 Display *dpy,
252 (void) XGrabServer(dpy); /* Can we do this later? */
253 if ((agentList = GetAgentIdList(dpy, &nAgents)) == NULL)
269 /* need to get licensing info from dpy */
276 openLicenseMethod = XInternAtom(dpy, openLicenseString, True);
279 desiredLicenseMethod = XInternAtom(dpy, licenseMethod, True);
291 if (GetProperty(dpy, agentList[i].id,
292 XInternAtom(dpy, XDPSNX_LICENSE_METHOD_PROP, True),
317 if (GetProperty(dpy, agentList[i].id,
318 XInternAtom(dpy, XDPSNX_TRANSPORT_INFO_PROP, True),
327 if (GetProperty(dpy, agentList[i].id,
328 XInternAtom(dpy, XDPSNX_HOST_NAME_PROP, True), XA_STRING,
348 (void) XUngrabServer(dpy);
349 (void) XDPSLFlush(dpy); /* Flush the ungrab */
429 Display *dpy,
451 if (XResourceManagerString(dpy) != NULL) {
452 serverDB = XrmGetStringDatabase(XResourceManagerString(dpy));
514 Display *dpy,
538 } else if (XDPSNXOnDisplay(dpy, licenseMethod, host, transport, port) ==
542 } else if (FindXDPSNXInXrmDatabase(dpy, host, transport, port) == Success) {
553 Display *dpy;
587 dpy = (Display *) value;
588 if (dpy == (Display *)NULL)
590 XDPSLSetSyncMask(dpy, DPSCAP_SYNCMASK_SYNC);
592 dpy = (Display *) value;
593 if (dpy == (Display *)NULL)
595 XDPSLSetSyncMask(dpy, DPSCAP_SYNCMASK_RECONCILE);
597 dpy = (Display *) value;
598 if (dpy == (Display *)NULL)
600 XDPSLSetSyncMask(dpy, DPSCAP_SYNCMASK_BUFFER);
602 dpy = (Display *) value;
603 if (dpy == (Display *)NULL)
605 XDPSLSetGCFlushMode(dpy, XDPSNX_GC_UPDATES_SLOW);
607 dpy = (Display *) value;
608 if (dpy == (Display *)NULL)
610 XDPSLSetGCFlushMode(dpy, XDPSNX_GC_UPDATES_FAST);