VirtualBox

Changeset 102464 in vbox


Ignore:
Timestamp:
Dec 5, 2023 8:46:15 AM (12 months ago)
Author:
vboxsync
Message:

Shared Clipboard: If something in ShClX11ReadDataFromX11Worker() fails, make sure to let the waiters know. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp

    r102461 r102464  
    23472347    }
    23482348
    2349     LogRel2(("Shared Clipboard: Reading X11 clipboard data completed with %Rrc\n", rc));
     2349    LogRel2(("Shared Clipboard: Converting X11 clipboard data completed with %Rrc\n", rc));
    23502350
    23512351    RTMemFree(pReq);
     
    25382538    }
    25392539
     2540    /* If the above stuff fails, make sure to let the waiters know.
     2541     *
     2542     * Getting the actual selection value via clipGetSelectionValue[Ex]() above will happen in the X event thread,
     2543     * which has its own signalling then. So this check only handles errors which happens before we put anything
     2544     * onto the X event thread.
     2545     */
     2546    if (RT_FAILURE(rc))
     2547    {
     2548        int rc2 = ShClEventSignalEx(pReq->pEvent, rc, NULL /* Payload */);
     2549        AssertRC(rc2);
     2550    }
     2551
     2552    LogRel2(("Shared Clipboard: Reading X11 clipboard data completed with %Rrc\n", rc));
     2553
    25402554    LogFlowFuncLeaveRC(rc);
    25412555}
Note: See TracChangeset for help on using the changeset viewer.

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