Eat first click

Hi,

How do I "eat first click", when my app is in the background, and the app is being clicked with the mouse?