Difference for arch/sdl/clipboard.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 27
 
Line 27
  int seln_format;   int seln_format;
  unsigned long nbytes;   unsigned long nbytes;
  unsigned long overflow;   unsigned long overflow;
  char *src;   unsigned char *src;
   
  /* Enable the special window hook events */   /* Enable the special window hook events */
  SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);   SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);
Line 67
 
Line 67
  Lock_Display();   Lock_Display();
  if ( XGetWindowProperty(SDL_Display, owner, selection, 0, INT_MAX/4,   if ( XGetWindowProperty(SDL_Display, owner, selection, 0, INT_MAX/4,
  False, XA_STRING, &seln_type, &seln_format,   False, XA_STRING, &seln_type, &seln_format,
  &nbytes, &overflow, (unsigned char **)&src) == Success )   &nbytes, &overflow, &src) == Success )
  {   {
  if ( seln_type == XA_STRING )   if ( seln_type == XA_STRING )
  {   {

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2