Lines Matching defs:dpy
44 register Display* dpy)
47 LockDisplay(dpy);
48 if (dpy->lock)
49 (*dpy->lock->user_lock_display)(dpy);
57 if (dpy->lock && dpy->lock->reply_awaiters) {
60 cvl = (*dpy->lock->create_cvl)(dpy);
63 cvl->next = dpy->lock->event_awaiters;
64 dpy->lock->event_awaiters = cvl;
66 while (dpy->lock->reply_awaiters)
67 ConditionWait(dpy, cvl->cv);
68 UnlockNextEventReader(dpy); /* pass the signal on */
70 UnlockDisplay(dpy);
76 register Display* dpy)
79 LockDisplay(dpy);
80 if (dpy->lock)
81 (*dpy->lock->user_unlock_display)(dpy);
82 UnlockDisplay(dpy);