Lines Matching refs:dpy
40 disp_err_handler (Display *dpy)
55 Display *dpy;
64 if (!(dpy = XOpenDisplay(dpyname)))
67 XSync(dpy, 0);
70 return dpy;
207 Display *dpy,
217 Atom atom = XInternAtom(dpy, name, 0);
220 XChangeProperty(dpy, w, atom, type, format, PropModeReplace,
234 Display *dpy)
237 Window w = DefaultRootWindow(dpy);
240 Pixmap pm = XCreatePixmap(dpy, w, 1, 1, 1);
243 prop_update(dpy, w, RETAIN_PROP_NAME, XA_PIXMAP, 32, (int)pm, 1);
246 XSetCloseDownMode(dpy, RetainPermanent);
257 Display *dpy)
267 Atom atom = XInternAtom(dpy, RETAIN_PROP_NAME, 0);
270 if (XGetWindowProperty(dpy, DefaultRootWindow(dpy), atom, 0, 1,
278 XKillClient(dpy, *pm);