On Sun, Jul 25, 2004 at 01:10:31AM -0400, Michael Guterl wrote: > *FvwmEvent: Cmd exec > *FvwmEvent: PassId > *FvwmEvent: enter_window '/home/squeegy/fadein' > *FvwmEvent: leave_window '/home/squeegy/fadeout' > > I am currently using this, but instead of having the WindowID passed > to the applications, is it possible to have the frameid passed > instead?
You can't pass the frame window id at the moment, but you can make
a shell script:
# assuming that the client window id is stored in the environment
# variable WID:
FID=`xwininfo -tree -id $WID |
grep "Parent window" |
sed -e "s/^.*: //" -e "s/ .*$//"
`
It's a bit inefficient because it needs three external programs to
run.
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
pgphDuSqhvgUv.pgp
Description: PGP signature
