VirtualBox

Changeset 3327 in vbox


Ignore:
Timestamp:
Jun 28, 2007 7:45:43 PM (18 years ago)
Author:
vboxsync
Message:

Test workaround for badly behaving applications for the Linux clipboard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/xclient/clipboard.cpp

    r3323 r3327  
    790790#endif
    791791        g_ctx.guestTextFormat = eBestTarget;
    792         if (eBestTarget != INVALID)
     792        /* We fall back to compound text if no recognized formats are found.  This seems (?)
     793           to violate the ICCCM, but some applications seem to expect it. */
     794        // if (eBestTarget != INVALID)
    793795            u32Formats |= VBOX_SHARED_CLIPBOARD_FMT_UNICODETEXT;
     796        if (eBestTarget == INVALID)
     797        {
     798            g_ctx.atomGuestTextFormat = g_ctx.atomCText;
     799            g_ctx.guestTextFormat = CTEXT;
     800        }
    794801        vboxClipboardReportFormats(u32Formats);
    795802        g_ctx.notifyHost = false;
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