VirtualBox

Ignore:
Timestamp:
Mar 18, 2022 12:05:59 PM (3 years ago)
Author:
vboxsync
Message:

Additions: Linux: Guest Lib: add helper to start legacy X11 resize service, bugref:10199.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDrmClient.cpp

    r93467 r94305  
    173173}
    174174
     175/**
     176 * Starts (executes) the legacy X11 resizing agent process ("VBoxClient --display").
     177 *
     178 * @returns VBox status code.
     179 */
     180VBGLR3DECL(int) VbglR3DrmLegacyX11AgentStart(void)
     181{
     182#if defined(RT_OS_LINUX)
     183    const char *apszArgs[3] = { VBOX_DRMCLIENT_LEGACY_EXECUTABLE, "--display", NULL };
     184    return VbglR3DrmStart(VBOX_DRMCLIENT_LEGACY_EXECUTABLE, apszArgs);
     185#else
     186    return VERR_NOT_SUPPORTED;
     187#endif
     188}
     189
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