VirtualBox

Ignore:
Timestamp:
Jan 17, 2008 9:36:42 AM (17 years ago)
Author:
vboxsync
Message:

Solaris: Host-side Shared clipboard lib, some fixes to clipboard-new and
more flow logging. The previous problem of invalid client Id is fixed but
seems there's more work here to be fixed, most possibly in the r3 guest
clipboard side.

Location:
trunk/src/VBox/HostServices/SharedClipboard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/Makefile.kmk

    r5999 r6366  
    3636VBoxSharedClipboard_SOURCES.linux = \
    3737        linux.cpp
     38VBoxSharedClipboard_SOURCES.solaris = \
     39        linux.cpp
    3840else
    3941VBoxSharedClipboard_SOURCES.linux = \
     42        linux-stub.cpp
     43VBoxSharedClipboard_SOURCES.solaris = \
    4044        linux-stub.cpp
    4145endif
     
    4852VBoxSharedClipboard_LIBPATH.linux = \
    4953        $(VBOX_LIBPATH_X11)
     54VBoxSharedClipboard_LIBPATH.solaris = \
     55        $(VBOX_LIBPATH_X11)
    5056VBoxSharedClipboard_LIBS.linux = \
     57        Xt \
     58        X11
     59VBoxSharedClipboard_LIBS.solaris = \
    5160        Xt \
    5261        X11
  • trunk/src/VBox/HostServices/SharedClipboard/linux.cpp

    r5999 r6366  
    628628    property.format = 8;
    629629    property.nitems = cbSrcLen;
     630#ifdef RT_OS_SOLARIS
     631    rc = XConverterNotFound;
     632    NOREF(cProps);
     633#else
    630634    rc = Xutf8TextPropertyToTextList(XtDisplay(g_ctx.widget), &property, &ppu8SrcText, &cProps);
     635#endif
    631636    XtFree(reinterpret_cast<char *>(pValue));
    632637    if (rc < 0)
     
    14081413    }
    14091414    /* And finally (!) convert the Utf8 text to compound text. */
     1415#ifdef RT_OS_SOLARIS
     1416    rc = XConverterNotFound;
     1417#else
    14101418    rc = Xutf8TextListToTextProperty(XtDisplay(g_ctx.widget), &pu8DestText, 1,
    14111419                                     XCompoundTextStyle, &property);
     1420#endif
    14121421    RTMemFree(pu8DestText);
    14131422    if (rc < 0)
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