PATCH: pygame.scrap on X11, fix copying into PRIMARY selection

Issue #208 closed
Rob Hagemans created an issue

Copying into theX11 PRIMARY selection (mouse copy/paste) would not work due to a confusion between content type and clipboard type. Short patch for src/scrap_x11.c from svn below. NB: Not sure if this is the proper forum for submitting a patch but the mailing list subscription page is offline.

<         if (cliptype == XA_PRIMARY)
>         if (clip == XA_PRIMARY)
<         timestamp = (cliptype == XA_PRIMARY) ? _selectiontime : _cliptime;
>         timestamp = (clip == XA_PRIMARY) ? _selectiontime : _cliptime;

Comments (9)

  1. Log in to comment