commit caa009b222e6b859c86de1b44409f9a013f0ae10 parent f184c37994a592bea9932e4a9ce981f39a4517dc Author: Chris Down <chris@chrisdown.name> Date: Tue, 30 May 2017 08:58:19 +0100 Remove partial clip dedupe support The application that was particularly bad at this (Chrome) now no longer does this, and this is basically a hack that has lasted too long. Also closes #41 and closes #42 since the questionable "feature" is going away. Diffstat:
M | clipmenud | | | 9 | --------- |
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/clipmenud b/clipmenud @@ -94,15 +94,6 @@ while (( CM_ONESHOT )) || sleep "${CM_SLEEP:-0.5}"; do continue fi - # If we were in the middle of doing a selection when the previous poll - # ran, then we may have got a partial clip. - possible_partial=${last_data[$selection]} - if [[ $possible_partial && $data == "$possible_partial"* ]]; then - debug "$possible_partial is a possible partial of $data" - debug "Removing ${last_filename[$selection]}" - rm -- "${last_filename[$selection]}" - fi - last_data[$selection]=$data last_filename[$selection]=$filename