Lines Matching defs:xwh
178 XDPSPrivContext xwh = (XDPSPrivContext) c->wh;
195 if (XDPSLGetWrapWaitingFlag(xwh->dpy)) {
201 (unsigned long) xwh->dpy, 0);
204 XDPSLSetWrapWaitingFlag(xwh->dpy, True);
219 XDPSLSetWrapWaitingFlag(xwh->dpy, False);
226 if (XDPSLGetPassEventsFlag(xwh->dpy)) {
227 XIfEvent(xwh->dpy, &ev, FindDPSEvent, (char *) NULL);
233 XDPSLSetWrapWaitingFlag(xwh->dpy, False);
237 XDPSLSetWrapWaitingFlag(xwh->dpy, False);
269 register XDPSPrivContext xwh = (XDPSPrivContext) c->wh;
277 while((currStatus = XDPSLGetStatus(xwh->dpy, xwh->cxid)) == PSFROZEN)
279 XDPSLNotifyContext(xwh->dpy, xwh->cxid, PSUNFREEZE);
286 XDPSForceEvents (xwh->dpy);
293 XDPSLReset(xwh->dpy, xwh->cxid);
294 XDPSLFlush(xwh->dpy);
299 XDPSForceEvents(xwh->dpy);
305 XDPSLNotifyContext(xwh->dpy, xwh->cxid, PSUNFREEZE);
310 currStatus = XDPSLGetStatus(xwh->dpy, xwh->cxid);
318 XDPSForceEvents(xwh->dpy);
528 XDPSPrivContext xwh = XDPSCreatePrivContextRec (dpy, draw, gc, x, y,
533 if (xwh == NIL)
537 newCtxt = DPSCreateContext ((char *) xwh, textProc, errorProc, space);
539 free ((char *) xwh);
559 XDPSPrivContext xwh = XDPSCreatePrivContextRec (dpy, draw, gc, x, y,
564 if (xwh == NIL)
568 newCtxt = DPSCreateContext ((char *) xwh, textProc, errorProc, space);
570 free ((char *) xwh);
589 XDPSPrivContext xwh = XDPSCreatePrivContextRec (dpy, draw, gc, x, y,
594 if (xwh == NIL)
598 newCtxt = DPSCreateContext ((char *) xwh, textProc, errorProc, space);
600 free ((char *) xwh);
616 XDPSPrivContext xwh;
625 xwh = XDPSCreatePrivContextRec (dpy, 0, 0, 0, 0, 0, NIL, NIL, 0, false);
626 if (xwh == NIL)
630 free ((char *) xwh);
633 xwh->cxid = cxid;
654 s->wh = (char *) xwh;
675 c->wh = (char *) xwh;
677 xwh->ctxt = (DPSContext) c;
719 XDPSPrivContext xwh;
739 xwh = XDPSCreatePrivContextRec (dpy, 0, 0, 0, 0, 0, NIL, NIL, 0, false);
740 if (xwh == NIL)
747 s->wh = (char *) xwh;
771 XDPSPrivContext xwh = (XDPSPrivContext) (((DPSPrivContext) ctxt)->wh);
773 if (xwh == NIL || xwh->cxid == 0)
780 *Pdpy = xwh->dpy;
781 return (xwh->cxid);
791 XDPSPrivContext xwh = (XDPSPrivContext) ss->wh;
793 if (xwh != NIL && xwh->dpy != NULL)
795 *Pdpy = xwh->dpy;
865 XDPSPrivContext xwh = (XDPSPrivContext) (((DPSPrivContext) ctxt)->wh);
867 if (xwh != NIL && xwh->cxid != 0)
868 XDPSLSetStatusMask(xwh->dpy, xwh->cxid, enableMask, disableMask, nextMask);
876 XDPSPrivContext xwh = (XDPSPrivContext) c->wh;
878 if (xwh != NIL && xwh->cxid != 0)
879 return (XDPSLGetStatus(xwh->dpy, xwh->cxid));
889 XDPSPrivContext xwh = (XDPSPrivContext) c->wh;
897 XDPSLNotifyWhenReady(xwh->dpy, xwh->cxid, i);