- Timestamp:
- Sep 25, 2018 2:29:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r74439 r74459 513 513 /* Guest -> Host handling. */ 514 514 int ghIsDnDPending(void); 515 int ghDropped(const RTCString &strFormat, uint32_t action);515 int ghDropped(const RTCString &strFormat, VBOXDNDACTION dndActionRequested); 516 516 #endif 517 517 … … 1672 1672 { 1673 1673 LogFlowThisFunc(("mode=%RU32, state=%RU32\n", m_enmMode, m_enmState)); 1674 LogFlowThisFunc(("uPosX=%RU32, uPosY=%RU32, dndActionDefault= %RU32\n", uPosX, uPosY, dndActionDefault));1674 LogFlowThisFunc(("uPosX=%RU32, uPosY=%RU32, dndActionDefault=0x%x\n", uPosX, uPosY, dndActionDefault)); 1675 1675 1676 1676 if ( m_enmMode != HG … … 1869 1869 RT_NOREF3(uPosX, uPosY, dndActionDefault); 1870 1870 LogFlowThisFunc(("wndCur=%RU32, wndProxy=%RU32, mode=%RU32, state=%RU32\n", m_wndCur, m_wndProxy.hWnd, m_enmMode, m_enmState)); 1871 LogFlowThisFunc(("uPosX=%RU32, uPosY=%RU32, dndActionDefault= %RU32\n", uPosX, uPosY, dndActionDefault));1871 LogFlowThisFunc(("uPosX=%RU32, uPosY=%RU32, dndActionDefault=0x%x\n", uPosX, uPosY, dndActionDefault)); 1872 1872 1873 1873 if ( m_enmMode != HG … … 2106 2106 rc2 = VbglR3DnDGHSendAckPending(&m_dndCtx, dndActionDefault, dndActionList, 2107 2107 strFormats.c_str(), strFormats.length() + 1 /* Include termination */); 2108 LogFlowThisFunc(("uClientID=%RU32, uDefAction=0x%x, uLstActions=0x%x, strFormats=%s, rc=%Rrc\n",2108 LogFlowThisFunc(("uClientID=%RU32, dndActionDefault=0x%x, dndActionList=0x%x, strFormats=%s, rc=%Rrc\n", 2109 2109 m_dndCtx.uClientID, dndActionDefault, dndActionList, strFormats.c_str(), rc2)); 2110 2110 if (RT_FAILURE(rc2)) … … 2125 2125 * @returns IPRT status code. 2126 2126 * @param strFormat Requested format to send to the host. 2127 * @param uActionRequested action to perform on the guest.2128 */ 2129 int DragInstance::ghDropped(const RTCString &strFormat, uint32_t uAction)2130 { 2131 LogFlowThisFunc(("mode=%RU32, state=%RU32, strFormat=%s, uAction=%RU32\n",2132 m_enmMode, m_enmState, strFormat.c_str(), uAction));2127 * @param dndActionRequested Requested action to perform on the guest. 2128 */ 2129 int DragInstance::ghDropped(const RTCString &strFormat, VBOXDNDACTION dndActionRequested) 2130 { 2131 LogFlowThisFunc(("mode=%RU32, state=%RU32, strFormat=%s, dndActionRequested=0x%x\n", 2132 m_enmMode, m_enmState, strFormat.c_str(), dndActionRequested)); 2133 2133 2134 2134 /* Currently in wrong mode? Bail out. */ … … 2264 2264 if (RT_SUCCESS(rc)) 2265 2265 { 2266 rc = m_wndProxy.sendFinished(wndSource, uAction);2266 rc = m_wndProxy.sendFinished(wndSource, dndActionRequested); 2267 2267 } 2268 2268 else … … 2933 2933 bool fDropAccepted = dndAction > VBOX_DND_ACTION_IGNORE; 2934 2934 2935 LogFlowFunc(("dndAction= %RU32\n", dndAction));2935 LogFlowFunc(("dndAction=0x%x\n", dndAction)); 2936 2936 2937 2937 /* Confirm the result of the transfer to the target window. */
Note:
See TracChangeset
for help on using the changeset viewer.