VirtualBox

Changeset 37473 in vbox


Ignore:
Timestamp:
Jun 15, 2011 4:16:31 PM (14 years ago)
Author:
vboxsync
Message:

FE/VBoxHeadless: use IConsole useHostClipboard attribute instead of the unsetting DISPLAY hack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r36380 r37473  
    577577    const char *pszFileNameParam = "VBox-%d.vob";
    578578#endif /* VBOX_FFMPEG */
    579 
    580 
    581     /* Make sure that DISPLAY is unset, so that X11 bits do not get initialised
    582      * on X11-using OSes. */
    583     /** @todo this should really be taken care of in Main. */
    584     RTEnvUnset("DISPLAY");
    585579
    586580    LogFlow (("VBoxHeadless STARTED.\n"));
     
    11641158        }
    11651159
     1160        /* Disable the host clipboard before powering up */
     1161        console->COMSETTER(UseHostClipboard)(false);
     1162
    11661163        Log(("VBoxHeadless: Powering up the machine...\n"));
    11671164
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