VirtualBox

Changeset 102462 in vbox


Ignore:
Timestamp:
Dec 5, 2023 8:36:07 AM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160605
Message:

Shared Clipboard: Make sure to check the event's rc when waiting for ShClX11ReadDataFromX11Async() to complete [build fix]. bugref:10384

File:
1 edited

Legend:

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

    r102461 r102462  
    105105                        }
    106106                        else /* No payload given; could happen on invalid / not-expected formats. */
    107                             *pcbActual = 0;
     107                            rc = VERR_NO_DATA;
    108108                    }
    109109                    else if (rc == VERR_SHCLPB_EVENT_FAILED)
     
    571571                                }
    572572                                else /* No payload given; could happen on invalid / not-expected formats. */
    573                                     *pcbActual = 0;
     573                                    rc = VERR_NO_DATA;
    574574                            }
    575575                            else if (rc == VERR_SHCLPB_EVENT_FAILED)
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