My .lircrc looks like:
...
begin  
        prog = irxevent
        button = Four
        config = Key 4 CurrentWindow
end
...

I run 'irxevent' on an xterm. I select other window (A) and try some buttons. Debug info appears on the xterm. The events appear on window A. I select window B and try some buttons again. Debug info appears on the xterm again. However, the events do no appear on window B. On some windows they appear, on others they don't.

What's wrong?

Running lirc-0.9.0-r2 with debug flag (r2 from gentoo), and xorg-server-1.13.1.