/[rdesktop]/sourceforge.net/trunk/rdesktop/xclip.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xclip.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1233 by astrand, Sun Apr 9 20:11:42 2006 UTC revision 1234 by ossman_, Mon May 15 11:38:49 2006 UTC
# Line 518  xclip_handle_SelectionNotify(XSelectionE Line 518  xclip_handle_SelectionNotify(XSelectionE
518                  {                  {
519                          res = XGetWindowProperty(g_display, g_wnd,                          res = XGetWindowProperty(g_display, g_wnd,
520                                                   rdesktop_primary_timestamp_target_atom, 0,                                                   rdesktop_primary_timestamp_target_atom, 0,
521                                                   XMaxRequestSize(g_display), False, XA_INTEGER,                                                   XMaxRequestSize(g_display), False, AnyPropertyType,
522                                                   &type, &format, &nitems, &bytes_left, &data);                                                   &type, &format, &nitems, &bytes_left, &data);
523                  }                  }
524                  else                  else
525                  {                  {
526                          res = XGetWindowProperty(g_display, g_wnd,                          res = XGetWindowProperty(g_display, g_wnd,
527                                                   rdesktop_clipboard_timestamp_target_atom, 0,                                                   rdesktop_clipboard_timestamp_target_atom, 0,
528                                                   XMaxRequestSize(g_display), False, XA_INTEGER,                                                   XMaxRequestSize(g_display), False, AnyPropertyType,
529                                                   &type, &format, &nitems, &bytes_left, &data);                                                   &type, &format, &nitems, &bytes_left, &data);
530                  }                  }
531    
532    
533                  if ((res != Success) || (nitems != 1))                  if ((res != Success) || (nitems != 1) || (format != 32))
534                  {                  {
535                          DEBUG_CLIPBOARD(("XGetWindowProperty failed!\n"));                          DEBUG_CLIPBOARD(("XGetWindowProperty failed!\n"));
536                          goto fail;                          goto fail;

Legend:
Removed from v.1233  
changed lines
  Added in v.1234

  ViewVC Help
Powered by ViewVC 1.1.26