> diff --git a/exec/key-handler b/exec/key-handler
> index 03d7499..439ab2e 100644
> --- a/exec/key-handler
> +++ b/exec/key-handler
> @@ -18,7 +18,7 @@ readonly TMPFILE="/tmp/sxiv.$$"
>
> rotate() {
> degree="$1"
> - while read file; do
> + tr '\n' \0' | xargs -0 realpath | sort
commit 5c607ad4951e4313ecfd2bc42087d5550283880c
Author: Bert Münnich
AuthorDate: Sat Jan 7 14:44:33 2017 +0100
Commit: Bert Münnich
CommitDate: Sat Jan 7 14:44:33 2017 +0100
Pass given file names to key-handler instead of real paths