Lines Matching refs:rMessage

2152 bool SelectionManager::handleDropEvent( XClientMessageEvent& rMessage )  in handleDropEvent()  argument
2157 XLIB_Window aSource = rMessage.data.l[0]; in handleDropEvent()
2158 XLIB_Window aTarget = rMessage.window; in handleDropEvent()
2166 if( rMessage.message_type == m_nXdndEnter || in handleDropEvent()
2167 rMessage.message_type == m_nXdndLeave || in handleDropEvent()
2168 rMessage.message_type == m_nXdndDrop || in handleDropEvent()
2169 rMessage.message_type == m_nXdndPosition ) in handleDropEvent()
2171 …fprintf( stderr, "got drop event %s, ", OUStringToOString( getString( rMessage.message_type ), RTL… in handleDropEvent()
2200 if( rMessage.message_type == m_nXdndEnter ) in handleDropEvent()
2203 m_aDropEnterEvent = rMessage; in handleDropEvent()
2212 rMessage.message_type == m_nXdndPosition && in handleDropEvent()
2217 m_nDropTime = m_nCurrentProtocolVersion > 0 ? rMessage.data.l[3] : CurrentTime; in handleDropEvent()
2225 rMessage.data.l[2] >> 16, in handleDropEvent()
2226 rMessage.data.l[2] & 0xffff, in handleDropEvent()
2241 else if( Atom(rMessage.data.l[4]) == m_nXdndActionCopy ) in handleDropEvent()
2243 else if( Atom(rMessage.data.l[4]) == m_nXdndActionMove ) in handleDropEvent()
2245 else if( Atom(rMessage.data.l[4]) == m_nXdndActionLink ) in handleDropEvent()
2247 else if( Atom(rMessage.data.l[4]) == m_nXdndActionAsk ) in handleDropEvent()
2268 rMessage.message_type == m_nXdndLeave && in handleDropEvent()
2286 rMessage.message_type == m_nXdndDrop && in handleDropEvent()
2291 m_nDropTime = m_nCurrentProtocolVersion > 0 ? rMessage.data.l[2] : CurrentTime; in handleDropEvent()
2591 bool SelectionManager::handleDragEvent( XEvent& rMessage ) in handleDragEvent() argument
2604 switch( rMessage.type ) in handleDragEvent()
2607 …fprintf( stderr, "handleDragEvent: %s\n", OUStringToOString( getString( rMessage.xclient.message_t… in handleDragEvent()
2619 …fprintf( stderr, "handleDragEvent: ButtonPress %d (m_nDragButton = %d)\n", rMessage.xbutton.button… in handleDragEvent()
2622 …fprintf( stderr, "handleDragEvent: ButtonRelease %d (m_nDragButton = %d)\n", rMessage.xbutton.butt… in handleDragEvent()
2631 fprintf( stderr, "handleDragEvent: <unknown type %d>\n", rMessage.type ); in handleDragEvent()
2637 if( rMessage.type == ClientMessage ) in handleDragEvent()
2639 …if( Atom(rMessage.xclient.message_type) == m_nXdndStatus && Atom(rMessage.xclient.data.l[0]) == m_… in handleDragEvent()
2648 m_bDropSuccess = rMessage.xclient.data.l[1] & 1 ? true : false; in handleDragEvent()
2652 …OUStringToOString( getString( rMessage.xclient.data.l[4] ), RTL_TEXTENCODING_ISO_8859_1 ).getStr()… in handleDragEvent()
2654 if( rMessage.xclient.data.l[1] & 1 ) in handleDragEvent()
2658 if( Atom(rMessage.xclient.data.l[4]) == m_nXdndActionCopy ) in handleDragEvent()
2660 else if( Atom(rMessage.xclient.data.l[4]) == m_nXdndActionMove ) in handleDragEvent()
2662 else if( Atom(rMessage.xclient.data.l[4]) == m_nXdndActionLink ) in handleDragEvent()
2670 if( ! ( rMessage.xclient.data.l[1] & 2 ) ) in handleDragEvent()
2672 m_nNoPosX = rMessage.xclient.data.l[2] >> 16; in handleDragEvent()
2673 m_nNoPosY = rMessage.xclient.data.l[2] & 0xffff; in handleDragEvent()
2674 m_nNoPosWidth = rMessage.xclient.data.l[3] >> 16; in handleDragEvent()
2675 m_nNoPosHeight = rMessage.xclient.data.l[3] & 0xffff; in handleDragEvent()
2684 …else if( Atom(rMessage.xclient.message_type) == m_nXdndFinished && m_aDropWindow == Atom(rMessage.… in handleDragEvent()
2700 else if( rMessage.type == MotionNotify || in handleDragEvent()
2701 rMessage.type == EnterNotify || rMessage.type == LeaveNotify in handleDragEvent()
2706 int root_x = rMessage.type == MotionNotify ? rMessage.xmotion.x_root : rMessage.xcrossing.x_root; in handleDragEvent()
2707 int root_y = rMessage.type == MotionNotify ? rMessage.xmotion.y_root : rMessage.xcrossing.y_root; in handleDragEvent()
2708 …XLIB_Window root = rMessage.type == MotionNotify ? rMessage.xmotion.root : rMessage.xcrossing.root; in handleDragEvent()
2709 …m_nDragTimestamp = rMessage.type == MotionNotify ? rMessage.xmotion.time : rMessage.xcrossing.time; in handleDragEvent()
2712 if( rMessage.type == MotionNotify ) in handleDragEvent()
2714 bForce = updateDragAction( rMessage.xmotion.state ); in handleDragEvent()
2722 …sendDropPosition( bForce, rMessage.type == MotionNotify ? rMessage.xmotion.time : rMessage.xcrossi… in handleDragEvent()
2725 else if( rMessage.type == XLIB_KeyPress || rMessage.type == KeyRelease ) in handleDragEvent()
2728 const KeySym aKey = XkbKeycodeToKeysym( m_pDisplay, rMessage.xkey.keycode, 0, 0 ); in handleDragEvent()
2772 int nState = rMessage.xkey.state; in handleDragEvent()
2782 if( rMessage.type == XLIB_KeyPress ) in handleDragEvent()
2788 sendDropPosition( true, rMessage.xkey.time ); in handleDragEvent()
2792 ( rMessage.type == ButtonPress || rMessage.type == ButtonRelease ) && in handleDragEvent()
2793 rMessage.xbutton.button == m_nDragButton ) in handleDragEvent()
2805 …XTranslateCoordinates( m_pDisplay, rMessage.xbutton.root, m_aDropWindow, rMessage.xbutton.x_root, in handleDragEvent()
2835 aEvent.xclient.data.l[2] = rMessage.xbutton.time; in handleDragEvent()
2859 aEvent.xbutton.root = rMessage.xbutton.root; in handleDragEvent()
2861 aEvent.xbutton.time = rMessage.xbutton.time+1; in handleDragEvent()
2862 aEvent.xbutton.x_root = rMessage.xbutton.x_root; in handleDragEvent()
2863 aEvent.xbutton.y_root = rMessage.xbutton.y_root; in handleDragEvent()
2864 aEvent.xbutton.state = rMessage.xbutton.state; in handleDragEvent()
2868 rMessage.xbutton.root, m_aDropWindow, in handleDragEvent()
2869 rMessage.xbutton.x_root, rMessage.xbutton.y_root, in handleDragEvent()