Changeset 58212 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Oct 13, 2015 11:49:33 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 103344
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r57416 r58212 939 939 uAction = toHGCMAction(static_cast<Atom>(e.xclient.data.l[XdndStatusAction])); 940 940 941 rc = VbglR3DnDHG AcknowledgeOperation(&m_dndCtx, uAction);941 rc = VbglR3DnDHGSendAckOp(&m_dndCtx, uAction); 942 942 } 943 943 else if (e.xclient.message_type == xAtom(XA_XdndFinished)) … … 1821 1821 { 1822 1822 /* No window to process, so send a ignore ack event to the host. */ 1823 rc = VbglR3DnDHG AcknowledgeOperation(&m_dndCtx, DND_IGNORE_ACTION);1823 rc = VbglR3DnDHGSendAckOp(&m_dndCtx, DND_IGNORE_ACTION); 1824 1824 } 1825 1825 else … … 1866 1866 char szFormat[] = { "text/uri-list" }; 1867 1867 1868 int rc = VbglR3DnDHG RequestData(&m_dndCtx, szFormat);1868 int rc = VbglR3DnDHGSendReqData(&m_dndCtx, szFormat); 1869 1869 logInfo("Drop event from host resuled in: %Rrc\n", rc); 1870 1870 … … 2074 2074 } 2075 2075 2076 rc2 = VbglR3DnDGHAcknowledgePending(&m_dndCtx, uDefAction, uAllActions, strFormats.c_str()); 2076 rc2 = VbglR3DnDGHSendAckPending(&m_dndCtx, uDefAction, uAllActions, 2077 strFormats.c_str(), strFormats.length() + 1 /* Include termination */); 2077 2078 LogFlowThisFunc(("uClientID=%RU32, uDefAction=0x%x, allActions=0x%x, strFormats=%s, rc=%Rrc\n", 2078 2079 m_dndCtx.uClientID, uDefAction, uAllActions, strFormats.c_str(), rc2)); … … 3196 3197 3197 3198 /* Wait for new events. */ 3198 rc = VbglR3DnD ProcessNextMessage(&dndCtx, &e.hgcm);3199 rc = VbglR3DnDRecvNextMsg(&dndCtx, &e.hgcm); 3199 3200 if ( RT_SUCCESS(rc) 3200 3201 || rc == VERR_CANCELLED)
Note:
See TracChangeset
for help on using the changeset viewer.