VirtualBox

Changeset 102920 in vbox for trunk


Ignore:
Timestamp:
Jan 17, 2024 11:20:27 AM (16 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161147
Message:

Shared Clipboard: Show the correct error code when VBClX11ClipboardInit() fails.

File:
1 edited

Legend:

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

    r102919 r102920  
    420420    }
    421421    else
    422         rc = VERR_NO_MEMORY;
     422        VBClLogError("Initializing clipboard failed with %Rrc\n", rc);
    423423
    424424    if (RT_FAILURE(rc))
    425425    {
    426         VBClLogError("Error connecting to host service, rc=%Rrc\n", rc);
    427 
    428426        VbglR3ClipboardDisconnectEx(&g_Ctx.CmdCtx);
    429427        ShClX11Destroy(&g_Ctx.X11);
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