ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.27 by pcg, Mon Feb 9 07:11:49 2004 UTC vs.
Revision 1.28 by pcg, Tue Feb 10 00:40:39 2004 UTC

2831 if (selection.text) 2831 if (selection.text)
2832 free (selection.text); 2832 free (selection.text);
2833 2833
2834 selection.text = new_selection_text; 2834 selection.text = new_selection_text;
2835 2835
2836 XSetSelectionOwner(display->display, XA_PRIMARY, TermWin.vt, tm); 2836 XSetSelectionOwner (display->display, XA_PRIMARY, TermWin.vt, tm);
2837 if (XGetSelectionOwner(display->display, XA_PRIMARY) != TermWin.vt) 2837 if (XGetSelectionOwner (display->display, XA_PRIMARY) == TermWin.vt)
2838 display->set_selection_owner (this);
2839 else
2838 rxvt_print_error("can't get primary selection"); 2840 rxvt_print_error("can't get primary selection");
2839
2840 2841
2841 { 2842 {
2842 XTextProperty ct; 2843 XTextProperty ct;
2843 char *cl = (char *)selection.text; 2844 char *cl = (char *)selection.text;
2844 2845

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines