Lines Matching defs:m_pDisplay
168 inline Display *display() const { return m_pDisplay; }
173 return XInternAtom(m_pDisplay, pcszString, False);
179 char* pcsAtom = XGetAtomName(m_pDisplay, atom);
199 : m_pDisplay(pDisplay)
204 m_xAtoms[i] = XInternAtom(m_pDisplay, m_xAtomNames[i], False);
209 Display *m_pDisplay;
298 Atom *pProps = XListProperties(m_pDisplay, wndParent, &cProps);
321 XQueryPointer(m_pDisplay, wndParent, &wndTemp, &wndChild, &tmp, &tmp, &tmp, &tmp, &utmp);
409 Display *m_pDisplay;
447 : m_pDisplay(0)
484 Display *m_pDisplay;
510 , m_pDisplay(pDisplay)
526 XDestroyWindow(m_pDisplay, m_wndProxy);
547 Window w = XGetSelectionOwner(m_pDisplay, xAtom(XA_XdndSelection));
549 XSetSelectionOwner(m_pDisplay, xAtom(XA_XdndSelection), None, CurrentTime);
587 if ((int)u32ScreenId > ScreenCount(m_pDisplay))
593 // pDrag->screen = ScreenOfDisplay(m_pDisplay, u32ScreenId);
601 m_wndRoot = RootWindow(m_pDisplay, m_screenId);
620 attr.background_pixel = WhitePixel(m_pDisplay, m_screenId);
622 m_wndProxy = XCreateWindow(m_pDisplay, m_wndRoot /* Parent */,
641 XStoreName(m_pDisplay, m_wndProxy, "VBoxClientWndDnD");
645 XChangeProperty(m_pDisplay, m_wndProxy, xAtom(XA_XdndAware), XA_ATOM, 32, PropModeReplace,
1079 XSetSelectionOwner(m_pDisplay, xAtom(XA_XdndSelection), m_wndProxy, CurrentTime);
1116 xrc = XGetWindowProperty(m_pDisplay, wndCursor, xAtom(XA_XdndAware),
1148 m.display = m_pDisplay;
1154 xrc = XSendEvent(m_pDisplay, m_wndCur, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1175 m.display = m_pDisplay;
1185 xrc = XSendEvent(m_pDisplay, wndCursor, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1204 m.display = m_pDisplay;
1213 xrc = XSendEvent(m_pDisplay, wndCursor, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1247 m.display = m_pDisplay;
1254 int xrc = XSendEvent(m_pDisplay, m_wndCur, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1324 Window wndSelection = XGetSelectionOwner(m_pDisplay, xAtom(XA_XdndSelection));
1363 XGetWindowAttributes(m_pDisplay, m_wndCur, &xwa);
1381 xRc = XGetWindowProperty(m_pDisplay, wndSelection,
1403 xRc = XGetWindowProperty(m_pDisplay, wndSelection,
1428 m.display = m_pDisplay;
1436 xRc = XSendEvent(m_pDisplay, m_wndCur,
1451 m.display = m_pDisplay;
1459 xRc = XSendEvent(m_pDisplay, m_wndCur,
1499 XFlush(m_pDisplay);
1503 XGetWindowAttributes(m_pDisplay, m_wndCur, &xwa);
1532 XConvertSelection(m_pDisplay, xAtom(XA_XdndSelection),
1545 && evSelNotify.xselection.display == m_pDisplay
1556 XGetWindowProperty(m_pDisplay, m_wndProxy,
1611 m.display = m_pDisplay;
1619 int xrc = XSendEvent(m_pDisplay, wndSource, True, NoEventMask, reinterpret_cast<XEvent*>(&m));
1652 m.display = m_pDisplay;
1659 int xrc = XSendEvent(m_pDisplay, wndSource, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1703 XWarpPointer(m_pDisplay, None, m_wndRoot, 0, 0, 0, 0, iPosX, iPosY);
1717 event.xbutton.subwindow = DefaultRootWindow (m_pDisplay);
1722 XQueryPointer (m_pDisplay, event.xbutton.window,
1730 if (XSendEvent (m_pDisplay, PointerWindow, True, ButtonPressMask, &event) == 0)
1732 XFlush (m_pDisplay);
1736 if (XSendEvent (m_pDisplay, PointerWindow, True, ButtonReleaseMask, &event) == 0)
1738 XFlush (m_pDisplay);
1744 if (XTestQueryExtension(m_pDisplay, &ev, &er, &ma, &mi))
1748 int xrc = XTestFakeButtonEvent(m_pDisplay, 1, fPress ? True : False, CurrentTime);
1751 XFlush(m_pDisplay);
1761 eBtn.display = m_pDisplay;
1778 //XTranslateCoordinates(m_pDisplay, eBtn.root, eBtn.window, eBtn.x_root, eBtn.y_root, &eBtn.x, &eBtn.y, &eBtn.subwindow);
1780 int xrc = XSendEvent(m_pDisplay, eBtn.window, True /* fPropagate */,
1785 int xrc = XSendEvent(m_pDisplay, eBtn.window, False /* fPropagate */,
1795 XQueryPointer(m_pDisplay, m_wndRoot, &wndTemp, &wndChild, &rx, &ry, &wx, &wy, &mask);
1819 // XTestGrabControl(m_pDisplay, False);
1820 Bool fInRootWnd = XQueryPointer(m_pDisplay, m_wndRoot, &wndRoot, &wndChild,
1833 XSynchronize(m_pDisplay, True /* Enable sync */);
1835 XMapWindow(m_pDisplay, m_wndProxy);
1836 XRaiseWindow(m_pDisplay, m_wndProxy);
1837 XMoveResizeWindow(m_pDisplay, m_wndProxy, iRootX, iRootY, 100, 100);
1840 XWarpPointer(m_pDisplay, None, m_wndRoot, 0, 0, 0, 0, iRootX, iRootY);
1842 XSynchronize(m_pDisplay, False /* Disable sync */);
1843 // XTestGrabControl(m_pDisplay, True);
1852 XUnmapWindow(m_pDisplay, m_wndProxy);
1866 // XSelectInput(m_pDisplay, w, Button1MotionMask | Button2MotionMask | Button3MotionMask | Button4MotionMask | Button5MotionMask);//| SubstructureNotifyMask);
1867 // XSelectInput(m_pDisplay, w, ButtonMotionMask); //PointerMotionMask);
1868 XSelectInput(m_pDisplay, wndThis, PointerMotionMask); //PointerMotionMask);
1872 if (XQueryTree(m_pDisplay, wndThis, &hRealRoot, &hParent, &phChildrenRaw, &cChildren))
1886 XChangeProperty(m_pDisplay, wndThis,
1895 XDeleteProperty(m_pDisplay, wndThis, xAtom(XA_XdndActionList));
1910 XChangeProperty(m_pDisplay, wndThis, property,
1918 XDeleteProperty(m_pDisplay, wndThis,
1926 atomList.append(XInternAtom(m_pDisplay, lstFormats.at(i).c_str(), False));
1949 lstAtom.append(XInternAtom(m_pDisplay, pszTmp, False));
2058 m_pCurDnD = new DragInstance(m_pDisplay, this);
2190 XFlush(m_pDisplay);
2207 m_pDisplay = XOpenDisplay(NULL);
2208 if (!m_pDisplay)
2212 xHelpers *pHelpers = xHelpers::getInstance(m_pDisplay);
2325 if (XEventsQueued(pThis->m_pDisplay, QueuedAfterFlush) > 0)
2331 XNextEvent(pThis->m_pDisplay, &e.x11);