VirtualBox

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


Ignore:
Timestamp:
Sep 16, 2013 3:01:16 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88982
Message:

Additions and HostServices: remove unneeded calls to XInitThreads().

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
2 edited

Legend:

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

    r46377 r48487  
    15481548    int rc = VINF_SUCCESS;
    15491549    LogRelFlowFunc(("\n"));
    1550 
    1551     /* We need to initialize XLib with thread support, otherwise our
    1552      * simultaneously access to the display makes trouble (has to be called
    1553      * before any usage of XLib). */
    1554     if (!XInitThreads())
    1555         AssertMsgFailedReturn(("Failed to initialize thread-safe XLib.\n"), VERR_GENERAL_FAILURE);
    15561550
    15571551    do
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless.cpp

    r44528 r48487  
    3434    virtual int run(bool fDaemonised /* = false */)
    3535    {
    36         /* Initialise threading in X11 and in Xt. */
    37         if (!XInitThreads())
    38         {
    39             LogRel(("VBoxClient: error initialising threads in X11, exiting.\n"));
    40             return VERR_NOT_SUPPORTED;
    41         }
    4236        int rc = mSeamless.init();
    4337        if (RT_FAILURE(rc))
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