From 9a52f7ddba821da6d2b84cca398a483851953af5 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Tue, 20 Feb 2018 10:08:13 +0000 Subject: [PATCH] Revert "Make sure we don't break #34 in new pre-ownership" This reverts commit fe6986110197aa73f22fdcbc4f4991f8350ee8b3. --- clipmenud | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clipmenud b/clipmenud index d4c4fb9..b0efe22 100755 --- a/clipmenud +++ b/clipmenud @@ -125,10 +125,7 @@ while true; do # Primary is excluded from the change of ownership as applications # sometimes act up if clipboard focus is taken away from them -- # for example, urxvt will unhilight text, which is undesirable. - # - # We need to check if the clipboard is empty to mitigate #34. - data=$(_xsel -o --clipboard; printf x) - [[ $data != x ]] && _xsel -i --clipboard <<< "${data%x}" + _xsel -o --clipboard | _xsel -i --clipboard fi if ! (( CM_ONESHOT )); then