--- rxvt-unicode/src/screen.C 2011/02/06 11:42:03 1.369 +++ rxvt-unicode/src/screen.C 2011/02/09 23:07:18 1.371 @@ -2744,9 +2744,6 @@ { int selnum = selection_type & Sel_whereMask; - if (selnum == Sel_direct) - selection_type = 0; - if ((selection_type & Sel_CompoundText)) { selection_type = 0; @@ -2883,6 +2880,7 @@ incr_buf_size = 0; free (incr_buf); + incr_buf = 0; rxvt_warn ("data loss: timeout on INCR selection paste, ignoring.\n"); }