… | |
… | |
1113 | XFree (ct.value); |
1113 | XFree (ct.value); |
1114 | |
1114 | |
1115 | if (selection_wait == Sel_normal) |
1115 | if (selection_wait == Sel_normal) |
1116 | { |
1116 | { |
1117 | stop (); |
1117 | stop (); |
1118 | request_cb (data, data_len, this, user_data); |
1118 | request_cb (data, data_len, this); |
1119 | free (data); |
1119 | free (data); |
1120 | } |
1120 | } |
1121 | } |
1121 | } |
1122 | |
1122 | |
1123 | void |
1123 | void |
… | |
… | |
1125 | { |
1125 | { |
1126 | if (selection_wait == Sel_incr) |
1126 | if (selection_wait == Sel_incr) |
1127 | rxvt_warn ("data loss: timeout on INCR selection paste, ignoring.\n"); |
1127 | rxvt_warn ("data loss: timeout on INCR selection paste, ignoring.\n"); |
1128 | |
1128 | |
1129 | stop (); |
1129 | stop (); |
1130 | request_cb (NULL, 0, this, user_data); |
1130 | request_cb (NULL, 0, this); |
1131 | } |
1131 | } |
1132 | |
1132 | |
1133 | void |
1133 | void |
1134 | rxvt_selection::x_cb (XEvent &xev) |
1134 | rxvt_selection::x_cb (XEvent &xev) |
1135 | { |
1135 | { |