Lines Matching defs:dpy
131 ::Display* dpy = m_display.getXDisplay();
132 ::Window root = DefaultRootWindow(dpy);
144 root = RootWindow(dpy, info.screen);
145 m_colormap = XCreateColormap(dpy, root, visual, AllocNone);
161 m_window = XCreateWindow(dpy, root, 0, 0, width, height, 0,
166 XSetWMProtocols(dpy, m_window, &deleteAtom, 1);
172 ::Display* dpy = m_display.getXDisplay();
181 XMapWindow(dpy, m_window);
186 XUnmapWindow(dpy, m_window);
191 XSelectInput(dpy, m_window, ExposureMask | StructureNotifyMask);
195 XNextEvent(dpy, &event);