- Timestamp:
- Jan 31, 2022 1:29:28 PM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r93496 r93497 1824 1824 return False; 1825 1825 1826 XSelectionRequestEvent* req =1827 XtGetSelectionRequest(widget, *atomSelection, (XtRequestId)NULL);1828 1829 1826 /* Is this the rigt selection (clipboard) we were asked for? */ 1830 1827 if (!clipIsSupportedSelectionType(pCtx, *atomSelection)) … … 1839 1836 pValReturn, pcLenReturn, piFormatReturn); 1840 1837 1841 1838 #ifdef LOG_ENABLED 1839 XSelectionRequestEvent* pReq = 1840 XtGetSelectionRequest(widget, *atomSelection, (XtRequestId)NULL); 1842 1841 LogFlowFunc(("returning pVBoxWnd=%#x, ownerWnd=%#x, reqWnd=%#x, %RTbool, rc=%Rrc\n", 1843 XtWindow(pCtx->pWidget), req->owner, req->requestor, RT_SUCCESS(rc), rc)); 1842 XtWindow(pCtx->pWidget), pReq->owner, pReq->requestor, RT_SUCCESS(rc), rc)); 1843 #endif 1844 1844 return RT_SUCCESS(rc) ? True : False; 1845 1845 } -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r93496 r93497 322 322 } 323 323 324 /** @copydoc SHCL BACKENDCALLBACKS::pfnReportFormats */324 /** @copydoc SHCLCALLBACKS::pfnReportFormats */ 325 325 static DECLCALLBACK(int) shClReportFormatsCallback(PSHCLCONTEXT pCtx, uint32_t fFormats, void *pvUser) 326 326 { … … 352 352 } 353 353 354 /** @copydoc SHCL BACKENDCALLBACKS::pfnOnSendDataToDest */354 /** @copydoc SHCLCALLBACKS::pfnOnSendDataToDest */ 355 355 static DECLCALLBACK(int) shClSendDataToDestCallback(PSHCLCONTEXT pCtx, void *pv, uint32_t cb, void *pvUser) 356 356 { … … 402 402 } 403 403 404 /** @copydoc SHCL BACKENDCALLBACKS::pfnOnRequestDataFromSource */404 /** @copydoc SHCLCALLBACKS::pfnOnRequestDataFromSource */ 405 405 static DECLCALLBACK(int) shClRequestDataFromSourceCallback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb, void *pvUser) 406 406 {
Note:
See TracChangeset
for help on using the changeset viewer.