xenv: allow to specify event filter