Changeset 102826 in vbox
- Timestamp:
- Jan 10, 2024 5:52:33 PM (15 months ago)
- svn:sync-xref-src-repo-rev:
- 161018
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-x11.h
r102824 r102826 116 116 /** Our callback table to use. */ 117 117 SHCLCALLBACKS Callbacks; 118 /** Is an X server actually available? */ 118 /** Is an X server actually available? 119 * Needed for non-interactive systems (i.e. servers) where X11 depedencies are installed, 120 * but no X11 server is actually running. */ 119 121 bool fHaveX11; 120 122 /** The X Toolkit application context structure. */ -
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r102825 r102826 2619 2619 2620 2620 /** 2621 * Reads the X11 clipboard (asynchronously).2621 * Reads from the X11 clipboard (asynchronously). 2622 2622 * 2623 2623 * @returns VBox status code. 2624 * @retval VERR_NO_DATA if format is supported but no data is available currently.2625 * @retval VERR_NOT_IMPLEMENTED if the format is not implemented.2626 2624 * @param pCtx Context data for the clipboard backend. 2627 2625 * @param uFmt The format that the VBox would like to receive the data in. … … 2638 2636 */ 2639 2637 if (!pCtx->fHaveX11) 2640 return V ERR_NO_DATA;2638 return VINF_SUCCESS; 2641 2639 2642 2640 int rc = VINF_SUCCESS; … … 2736 2734 * 2737 2735 * @returns VBox status code. 2738 * @retval VERR_NOT_AVAILABLE the the X11 clipboard is not available.2739 * @retval VERR_NOT_IMPLEMENTED if the format is not implemented.2740 2736 * @param pCtx Context data for the clipboard backend. 2741 2737 * @param uFmts The format(s) to write. … … 2758 2754 */ 2759 2755 if (!pCtx->fHaveX11) 2760 return V ERR_NOT_AVAILABLE;2756 return VINF_SUCCESS; 2761 2757 2762 2758 int rc = ShClCacheSetMultiple(&pCtx->Cache, uFmts, pvBuf, cbBuf);
Note:
See TracChangeset
for help on using the changeset viewer.