VirtualBox

Changeset 80623 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Sep 6, 2019 10:05:11 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133152
Message:

Shared Clipboard: Removed old protocol handling cruft on the host side and added message translation support for serving older Guest Additions. Updated docs / protocol changelog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r80444 r80623  
    166166 * @param  cb        the size of the data in @a pv
    167167 */
    168 void ClipCompleteDataRequestFromX11(VBOXCLIPBOARDCONTEXT *pCtx, int rc, CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
     168void ClipRequestFromX11CompleteCallback(VBOXCLIPBOARDCONTEXT *pCtx, int rc, CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
    169169{
    170170    RT_NOREF1(pCtx);
     
    192192        rc = VERR_NO_MEMORY;
    193193    if (RT_SUCCESS(rc))
    194         rc = ClipStartX11(g_ctx.pBackend);
     194        rc = ClipStartX11(g_ctx.pBackend, false /* grab */);
    195195    if (RT_SUCCESS(rc))
    196196    {
     
    229229            switch (Msg)
    230230            {
    231                 case VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS_WRITE:
     231                case VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS_REPORT:
    232232                {
    233233                    /* The host has announced available clipboard formats.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette