VirtualBox

Changeset 102929 in vbox for trunk/include


Ignore:
Timestamp:
Jan 17, 2024 3:30:48 PM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161157
Message:

Shared Clipboard: Better documented for what headless mode is and why we need it; improved testing here and there a bit, so we have better coverage there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard-x11.h

    r102826 r102929  
    116116    /** Our callback table to use. */
    117117    SHCLCALLBACKS    Callbacks;
    118     /** Is an X server actually available?
    119      *  Needed for non-interactive systems (i.e. servers) where X11 depedencies are installed,
    120      *  but no X11 server is actually running. */
    121     bool             fHaveX11;
     118    /**
     119     * Are we running in headless mode?
     120     *
     121     * This is a special situation for running on UNIX-y environments, where an
     122     * X server could not be available when running on a server without any
     123     * desktop environment available, for example.
     124     */
     125    bool             fHeadless;
    122126    /** The X Toolkit application context structure. */
    123127    XtAppContext     pAppContext;
     
    262266 */
    263267int ShClX11Init(PSHCLX11CTX pCtx, PSHCLCALLBACKS pCallbacks, PSHCLCONTEXT pParent, bool fHeadless);
    264 void ShClX11Destroy(PSHCLX11CTX pCtx);
     268int ShClX11Destroy(PSHCLX11CTX pCtx);
    265269int ShClX11ThreadStart(PSHCLX11CTX pCtx, bool grab);
    266270int ShClX11ThreadStartEx(PSHCLX11CTX pCtx, const char *pszName, bool fGrab);
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