--- rxvt-unicode/src/rxvttoolkit.C 2011/05/30 18:39:03 1.127 +++ rxvt-unicode/src/rxvttoolkit.C 2011/07/01 19:06:51 1.128 @@ -913,6 +913,7 @@ incr_buf_size = incr_buf_fill = 0; selection_wait = Sel_normal; selection_type = selnum; + cb_sv = 0; } void @@ -962,7 +963,7 @@ void rxvt_selection::finish (char *data, unsigned int len) { - if (term) + if (!cb_sv) { if (data) term->paste (data, len);