1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-03 04:33:49 -05:00

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

View file

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