But on the other hand I'm not sure if you will get any events at all if you don't have a window active.
Hope you're wrong : )

I belive that the application will get every event, but not all will be handled/send due to not active window, but no speculation needed, I will test it right away.