Lines Matching refs:m_pDisplay

223         m_pDisplay( NULL ),  in SelectionManager()
297 aBlack.pixel = BlackPixel( m_pDisplay, 0 ); in createCursor()
301 aWhite.pixel = WhitePixel( m_pDisplay, 0 ); in createCursor()
306 XCreateBitmapFromData( m_pDisplay, in createCursor()
312 = XCreateBitmapFromData( m_pDisplay, in createCursor()
318 XCreatePixmapCursor( m_pDisplay, aPointer, aMask, in createCursor()
322 XFreePixmap( m_pDisplay, aPointer ); in createCursor()
323 XFreePixmap( m_pDisplay, aMask ); in createCursor()
372 if( ! m_pDisplay ) in initialize()
384 m_pDisplay = XOpenDisplay( aDisplayName.getLength() ? aDisplayName.getStr() : NULL ); in initialize()
386 if( m_pDisplay ) in initialize()
389 XSynchronize( m_pDisplay, True ); in initialize()
427 m_aWindow = XCreateSimpleWindow( m_pDisplay, DefaultRootWindow( m_pDisplay ), in initialize()
433 m_nIncrementalThreshold = XMaxRequestSize( m_pDisplay ) - 1024; in initialize()
445 XSelectInput( m_pDisplay, m_aWindow, PropertyChangeMask ); in initialize()
467 …tf( stderr, "SelectionManager::~SelectionManager (%s)\n", m_pDisplay ? DisplayString(m_pDisplay) :… in ~SelectionManager()
508 if( m_pDisplay ) in ~SelectionManager()
513 XDestroyWindow( m_pDisplay, m_aWindow ); in ~SelectionManager()
516 XFreeCursor(m_pDisplay, m_aMoveCursor); in ~SelectionManager()
518 XFreeCursor(m_pDisplay, m_aCopyCursor); in ~SelectionManager()
520 XFreeCursor(m_pDisplay, m_aLinkCursor); in ~SelectionManager()
522 XFreeCursor(m_pDisplay, m_aNoneCursor); in ~SelectionManager()
526 XUngrabPointer( m_pDisplay, CurrentTime ); in ~SelectionManager()
527 XUngrabKeyboard( m_pDisplay, CurrentTime ); in ~SelectionManager()
529 XCloseDisplay( m_pDisplay ); in ~SelectionManager()
559 XmbTextPropertyToTextList( m_pDisplay, in convertFromCompound()
587 XmbTextListToTextProperty( m_pDisplay, in convertToCompound()
722 char* pAtom = m_pDisplay ? XGetAtomName( m_pDisplay, aAtom ) : NULL; in getString()
743 …Atom aAtom = m_pDisplay ? XInternAtom( m_pDisplay, OUStringToOString( rString, RTL_TEXTENCODING_IS… in getAtom()
755 if( m_pDisplay && m_aWindow ) in requestOwnership()
762 XSetSelectionOwner( m_pDisplay, selection, m_aWindow, CurrentTime ); in requestOwnership()
763 if( XGetSelectionOwner( m_pDisplay, selection ) == m_aWindow ) in requestOwnership()
910 if( ! m_pDisplay ) in getPasteData()
917 XLIB_Window aSelectionOwner = XGetSelectionOwner( m_pDisplay, selection ); in getPasteData()
933 XDeleteProperty( m_pDisplay, m_aWindow, selection ); in getPasteData()
935 …XConvertSelection( m_pDisplay, selection, type, selection, m_aWindow, selection == m_nXdndSelectio… in getPasteData()
943 XFlush( m_pDisplay ); in getPasteData()
957 if( XCheckTypedEvent( m_pDisplay, in getPasteData()
968 if( XCheckTypedEvent( m_pDisplay, in getPasteData()
976 if( XCheckTypedEvent( m_pDisplay, in getPasteData()
982 if( XCheckTypedEvent( m_pDisplay, in getPasteData()
1139 XChangeProperty( m_pDisplay, in getPasteData()
1162 …XGetWindowProperty( m_pDisplay, m_aWindow, XA_PIXMAP, 0, 1, True, XA_PIXMAP, &type, &format, &nIte… in getPasteData()
1171 …XGetWindowProperty( m_pDisplay, m_aWindow, XA_COLORMAP, 0, 1, True, XA_COLORMAP, &type, &format, &… in getPasteData()
1206 … sal_uInt8* pBytes = X11_getBmpFromPixmap( m_pDisplay, aPixmap, aColormap, nOutSize ); in getPasteData()
1288 XGetWindowProperty( m_pDisplay, m_aDropEnterEvent.data.l[0], in getPasteDataTypes()
1302 XGetWindowProperty( m_pDisplay, m_aDropEnterEvent.data.l[0], in getPasteDataTypes()
1458 it->second->m_pPixmap = new PixmapHolder( m_pDisplay ); in getPixmapHolder()
1545 XChangeProperty( m_pDisplay, in sendData()
1604 XSelectInput( m_pDisplay, requestor, PropertyChangeMask ); in sendData()
1605 XChangeProperty( m_pDisplay, requestor, property, in sendData()
1607 XFlush( m_pDisplay ); in sendData()
1612 XChangeProperty( m_pDisplay, in sendData()
1656 XGetSelectionOwner( m_pDisplay, rRequest.selection ) == m_aWindow ) in handleSelectionRequest()
1676 XChangeProperty( m_pDisplay, rRequest.requestor, rRequest.property, in handleSelectionRequest()
1682 … fprintf( stderr, " %s\n", pTypes[k] ? XGetAtomName( m_pDisplay, pTypes[k] ) : "<None>" ); in handleSelectionRequest()
1689 XChangeProperty( m_pDisplay, rRequest.requestor, rRequest.property, in handleSelectionRequest()
1708 XGetWindowProperty( m_pDisplay, in handleSelectionRequest()
1724 XGetWindowProperty( m_pDisplay, in handleSelectionRequest()
1761 XChangeProperty( m_pDisplay, in handleSelectionRequest()
1781 Atom* pProps = XListProperties( m_pDisplay, rRequest.requestor, &nProps ); in handleSelectionRequest()
1807 XSendEvent( m_pDisplay, rRequest.requestor, False, 0, &aNotify ); in handleSelectionRequest()
1874 XGetWindowProperty( m_pDisplay, in handleReceivePropertyNotify()
1898 XDeleteProperty( m_pDisplay, rNotify.window, rNotify.atom ); in handleReceivePropertyNotify()
1903 XGetWindowProperty( m_pDisplay, in handleReceivePropertyNotify()
2025 XChangeProperty( m_pDisplay, in handleSendPropertyNotify()
2099 XGetWindowProperty( m_pDisplay, in handleSelectionNotify()
2112 XGetWindowProperty( m_pDisplay, in handleSelectionNotify()
2222 XTranslateCoordinates( m_pDisplay, in handleDropEvent()
2358 aEvent.xclient.display = m_pDisplay; in dropComplete()
2383 XSendEvent( m_pDisplay, m_aDropEnterEvent.data.l[0], in dropComplete()
2442 aEvent.xclient.display = m_pDisplay; in sendDragStatus()
2463 XSendEvent( m_pDisplay, m_aDropEnterEvent.data.l[0], in sendDragStatus()
2465 XFlush( m_pDisplay ); in sendDragStatus()
2546 …XTranslateCoordinates( m_pDisplay, it->second.m_aRootWindow, m_aDropWindow, m_nLastDragX, m_nLastD… in sendDropPosition()
2567 aEvent.xclient.display = m_pDisplay; in sendDropPosition()
2584 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in sendDropPosition()
2728 const KeySym aKey = XkbKeycodeToKeysym( m_pDisplay, rMessage.xkey.keycode, 0, 0 ); in handleDragEvent()
2744 aEvent.xclient.display = m_pDisplay; in handleDragEvent()
2751 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in handleDragEvent()
2805 …XTranslateCoordinates( m_pDisplay, rMessage.xbutton.root, m_aDropWindow, rMessage.xbutton.x_root, … in handleDragEvent()
2829 aEvent.xclient.display = m_pDisplay; in handleDragEvent()
2841 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in handleDragEvent()
2857 aEvent.xbutton.display = m_pDisplay; in handleDragEvent()
2867 XTranslateCoordinates( m_pDisplay, in handleDragEvent()
2872 XSendEvent( m_pDisplay, m_aDropWindow, False, ButtonPressMask, &aEvent ); in handleDragEvent()
2876 XSendEvent( m_pDisplay, m_aDropWindow, False, ButtonReleaseMask, &aEvent ); in handleDragEvent()
2880 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in handleDragEvent()
2999 pProperties = XListProperties( m_pDisplay, aWindow, &nProperties ); in getXdndVersion()
3006 XGetWindowProperty( m_pDisplay, aWindow, m_nXdndProxy, 0, 1, False, XA_WINDOW, in getXdndVersion()
3017 XGetWindowProperty( m_pDisplay, rProxy, m_nXdndProxy, 0, 1, False, XA_WINDOW, in getXdndVersion()
3035 XGetWindowProperty( m_pDisplay, aAwareWindow, m_nXdndAware, 0, 1, False, XA_ATOM, in getXdndVersion()
3070 XTranslateCoordinates( m_pDisplay, aRoot, aParent, nX, nY, &nWinX, &nWinY, &aChild ); in updateDragWindow()
3127 aEvent.xclient.display = m_pDisplay; in updateDragWindow()
3133 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in updateDragWindow()
3163 XTranslateCoordinates( m_pDisplay, aRoot, m_aDropWindow, nX, nY, &nWinX, &nWinY, &aChild ); in updateDragWindow()
3180 aEvent.xclient.display = m_pDisplay; in updateDragWindow()
3195 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in updateDragWindow()
3262 if( XQueryPointer( m_pDisplay, it->second.m_aRootWindow, in startDrag()
3292 … XTranslateCoordinates( m_pDisplay, aRoot, aParent, root_x, root_y, &win_x, &win_y, &aChild ); in startDrag()
3309 XGrabPointer( m_pDisplay, it->second.m_aRootWindow, True, in startDrag()
3332 XGrabPointer( m_pDisplay, it->second.m_aRootWindow, True, in startDrag()
3348 XGrabKeyboard( m_pDisplay, it->second.m_aRootWindow, True, in startDrag()
3356 XUngrabPointer( m_pDisplay, CurrentTime ); in startDrag()
3358 XUngrabKeyboard( m_pDisplay, CurrentTime ); in startDrag()
3359 XFlush( m_pDisplay ); in startDrag()
3393 …XChangeProperty( m_pDisplay, m_aWindow, m_nXdndTypeList, XA_ATOM, 32, PropModeReplace, (unsigned c… in startDrag()
3448 XUngrabPointer( m_pDisplay, CurrentTime ); in startDrag()
3449 XUngrabKeyboard( m_pDisplay, CurrentTime ); in startDrag()
3450 XFlush( m_pDisplay ); in startDrag()
3528 XUngrabPointer( m_pDisplay, CurrentTime ); in dragDoDispatch()
3529 XUngrabKeyboard( m_pDisplay, CurrentTime ); in dragDoDispatch()
3530 XFlush( m_pDisplay ); in dragDoDispatch()
3564 XChangeActivePointerGrab( m_pDisplay, DRAG_EVENT_MASK, cursor, CurrentTime ); in setCursor()
3565 XFlush( m_pDisplay ); in setCursor()
3594 …XChangeProperty( m_pDisplay, m_aWindow, m_nXdndTypeList, XA_ATOM, 32, PropModeReplace, (unsigned c… in transferablesFlavorsChanged()
3603 aEvent.xclient.display = m_pDisplay; in transferablesFlavorsChanged()
3610 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in transferablesFlavorsChanged()
3621 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in transferablesFlavorsChanged()
3644 if( rEvent.xany.display != m_pDisplay in handleXEvent()
3723 aPollFD.fd = ConnectionNumber( m_pDisplay ); in dispatchEvent()
3744 nPending = XPending( m_pDisplay ); in dispatchEvent()
3747 XNextEvent( m_pDisplay, &event ); in dispatchEvent()
3795 XLIB_Window aOwner = XGetSelectionOwner( This->m_pDisplay, it->first ); in run()
3976 else if( aWindow && m_pDisplay ) in registerDropTarget()
3985 XSelectInput( m_pDisplay, aWindow, PropertyChangeMask ); in registerDropTarget()
3989 …XChangeProperty( m_pDisplay, aWindow, m_nXdndAware, XA_ATOM, 32, PropModeReplace, (unsigned char*)… in registerDropTarget()
3996 XGetGeometry( m_pDisplay, aWindow, &aEntry.m_aRootWindow, in registerDropTarget()
4033 aEvent.xclient.display = m_pDisplay; in deregisterDropTarget()
4040 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in deregisterDropTarget()