Merge pull request #273 from Corax26/trans-c-fix

Fix compton-trans -c
This commit is contained in:
Richard Grenville 2015-03-29 18:34:15 +08:00
commit 5a00adad39
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ while test $# -gt 0; do
s) wprefix=''; window='' ;;
c)
active=$(xprop -root -notype _NET_ACTIVE_WINDOW \
| sed 's/^.*\(0x\S*\).*$/\1/')
| grep -Eo '0x[[:xdigit:]]+' | head -n 1)
wprefix='-id'; window=$active
;;
r) action='reset' ;;