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.244 by root, Fri Jan 20 10:27:08 2006 UTC vs.
Revision 1.245 by root, Fri Jan 20 10:35:25 2006 UTC

2804 * EXT: button 2 release 2804 * EXT: button 2 release
2805 */ 2805 */
2806void 2806void
2807rxvt_term::selection_request (Time tm, int selnum) NOTHROW 2807rxvt_term::selection_request (Time tm, int selnum) NOTHROW
2808{ 2808{
2809/* After making a selection with selection_make this function will always 2809 if (selection.text && selnum == Sel_Primary)
2810 * return the internal selection, which is not correct IMO, now much more since
2811 * I added the selnum parameter.
2812 */
2813#if 0
2814 if (selection.text)
2815 { /* internal selection */ 2810 { /* internal selection */
2816 char *str = rxvt_wcstombs (selection.text, selection.len); 2811 char *str = rxvt_wcstombs (selection.text, selection.len);
2817 paste (str, strlen (str)); 2812 paste (str, strlen (str));
2818 free (str); 2813 free (str);
2819 return; 2814 return;
2820 } 2815 }
2821 else 2816 else
2822#endif
2823 { 2817 {
2824 selection_request_time = tm; 2818 selection_request_time = tm;
2825 selection_wait = Sel_normal; 2819 selection_wait = Sel_normal;
2826 2820
2827#if X_HAVE_UTF8_STRING 2821#if X_HAVE_UTF8_STRING

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines