/[rdesktop]/sourceforge.net/trunk/rdesktop/cliprdr.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/cliprdr.c

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

revision 401 by forsberg, Fri Jun 6 09:32:56 2003 UTC revision 402 by forsberg, Fri Jun 6 10:39:10 2003 UTC
# Line 634  cliprdr_handle_server_data_request(STREA Line 634  cliprdr_handle_server_data_request(STREA
634          }          }
635          else          else
636          {          {
                 DEBUG_CLIPBOARD(("There were no owner for PRIMARY, sending empty string\n"));   // FIXME: Should we always send an empty string?  
637    
638                  cliprdr_send_empty_datapacket();                  selectionowner = XGetSelectionOwner(display, clipboard_atom);
639                    if (None != selectionowner)
640                    {
641                            XConvertSelection(display, clipboard_atom,
642                                              targets_atom,
643                                              rdesktop_clipboard_target_atom, wnd, CurrentTime);
644    
645                            /* The rest of the transfer is handled in
646                               cliprdr_handle_SelectionNotify */
647    
648                    }
649                    else
650                    {
651    
652                            DEBUG_CLIPBOARD(("There were no owner for PRIMARY nor CLIPBOARD, sending empty string\n"));     // FIXME: Should we always send an empty string?
653    
654                            cliprdr_send_empty_datapacket();
655                    }
656          }          }
657    
658    

Legend:
Removed from v.401  
changed lines
  Added in v.402

  ViewVC Help
Powered by ViewVC 1.1.26