Home | History | Annotate | Download | only in src

Lines Matching refs:xcb

10 #include <xcb/xcbext.h>
65 dpy->xcb = Xcalloc(1, sizeof(_X11XCBPrivate));
66 if(!dpy->xcb)
83 dpy->xcb->connection = c;
84 dpy->xcb->next_xid = xcb_generate_id(dpy->xcb->connection);
86 dpy->xcb->event_notify = xcondition_malloc();
87 dpy->xcb->reply_notify = xcondition_malloc();
88 if (!dpy->xcb->event_notify || !dpy->xcb->reply_notify)
90 xcondition_init(dpy->xcb->event_notify);
91 xcondition_init(dpy->xcb->reply_notify);
98 free(dpy->xcb->reply_data);
99 while(dpy->xcb->pending_requests)
101 PendingRequest *tmp = dpy->xcb->pending_requests;
102 dpy->xcb->pending_requests = tmp->next;
105 if (dpy->xcb->event_notify)
106 xcondition_clear(dpy->xcb->event_notify);
107 if (dpy->xcb->reply_notify)
108 xcondition_clear(dpy->xcb->reply_notify);
109 xcondition_free(dpy->xcb->event_notify);
110 xcondition_free(dpy->xcb->reply_notify);
111 Xfree(dpy->xcb);
112 dpy->xcb = NULL;