VirtualBox

Changeset 82514 in vbox


Ignore:
Timestamp:
Dec 9, 2019 1:26:25 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135367
Message:

SharedClipboardSvc,Vbgl: Reviewed and adjusted the handling of the VBOX_SHCL_GUEST_FN_REPORT_FORMATS message, paddling back the parameter changes from the 6.1 dev cycle and fixing a couple of bugs introduced. Also documented the message and renamed it to a more sensible name. Dropped the new Vbgl method, renaming the old one. [fixes] bugref:9437

Location:
trunk/src/VBox/Additions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceClipboard-os2.cpp

    r80990 r82514  
    611611    }
    612612    VGSvcVerbose(4, "clipboard: reporting fFormats=%#x\n", fFormats);
    613     VbglR3ClipboardFormatsReport(g_u32ClientId, fFormats);
     613    VbglR3ClipboardReportFormats(g_u32ClientId, fFormats);
    614614}
    615615
     
    658658                g_fEmptyClipboard = true;
    659659                VGSvcVerbose(3, "Reporting empty clipboard\n");
    660                 VbglR3ClipboardFormatsReport(g_u32ClientId, 0);
     660                VbglR3ClipboardReportFormats(g_u32ClientId, 0);
    661661            }
    662662        }
     
    681681    g_fEmptyClipboard = true;
    682682    VGSvcVerbose(3, "Reporting empty clipboard\n");
    683     VbglR3ClipboardFormatsReport(g_u32ClientId, 0);
     683    VbglR3ClipboardReportFormats(g_u32ClientId, 0);
    684684
    685685    vgsvcClipboardOs2PollViewer();
  • trunk/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboard.cpp

    r80990 r82514  
    177177        {
    178178            fFormats = vbclClipboardGetAvailableFormats(g_PasteboardRef);
    179             rc = VbglR3ClipboardFormatsReport(g_u32ClientId, fFormats);
     179            rc = VbglR3ClipboardReportFormats(g_u32ClientId, fFormats);
    180180            if (RT_FAILURE(rc))
    181181            {
     
    287287    AssertReturn(g_u32ClientId != 0, VERR_GENERAL_FAILURE);
    288288
    289     VbglR3ClipboardFormatsReport(g_u32ClientId, 0);
     289    VbglR3ClipboardReportFormats(g_u32ClientId, 0);
    290290
    291291    rc = VbglR3ClipboardDisconnect(g_u32ClientId);
  • trunk/src/VBox/Additions/haiku/VBoxTray/VBoxClipboard.cpp

    r81223 r82514  
    345345            be_clipboard->Unlock();
    346346
    347             VbglR3ClipboardFormatsReport(fClientId, formats);
     347            VbglR3ClipboardReportFormats(fClientId, formats);
    348348            break;
    349349        }
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