… | |
… | |
911 | |
911 | |
912 | incr_buf = 0; |
912 | incr_buf = 0; |
913 | incr_buf_size = incr_buf_fill = 0; |
913 | incr_buf_size = incr_buf_fill = 0; |
914 | selection_wait = Sel_normal; |
914 | selection_wait = Sel_normal; |
915 | selection_type = selnum; |
915 | selection_type = selnum; |
|
|
916 | cb_sv = 0; |
916 | } |
917 | } |
917 | |
918 | |
918 | void |
919 | void |
919 | rxvt_selection::stop () |
920 | rxvt_selection::stop () |
920 | { |
921 | { |
… | |
… | |
960 | } |
961 | } |
961 | |
962 | |
962 | void |
963 | void |
963 | rxvt_selection::finish (char *data, unsigned int len) |
964 | rxvt_selection::finish (char *data, unsigned int len) |
964 | { |
965 | { |
965 | if (term) |
966 | if (!cb_sv) |
966 | { |
967 | { |
967 | if (data) |
968 | if (data) |
968 | term->paste (data, len); |
969 | term->paste (data, len); |
969 | |
970 | |
970 | term->selection_req = 0; |
971 | term->selection_req = 0; |