xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #176: fix-clipboard.diff

File fix-clipboard.diff, 728 bytes (added by أحمد المحمودي, 9 years ago)
  • xpra/xposix/xclipboard.py

    Last-Update: 2012-08-11
    Author: Dmitry Smirnov <onlyjob@member.fsf.org>
    Forwarded: 2012-08-11
    Bug-Xpra: https://www.xpra.org/trac/ticket/176
    Description: fix clipboard regression
     Reverting back to 0.4.0
    
    a b  
    3838            import gtk.gdk
    3939            gdk_atoms = [gtk.gdk.atom_intern(a) for a in data]
    4040            atom_array = gdk_atom_array_from_gdk_atom_objects(gdk_atoms)
    41             return struct.pack("=" + "L" * len(atom_array), *atom_array)
     41            return struct.pack("=" + "I" * len(atom_array), *atom_array)
    4242        return ClipboardProtocolHelperBase._munge_wire_selection_to_raw(self, encoding, dtype, dformat, data)