It's perfectly fine for it to send it to the active window. It is not fine to send it to the parent window of an active window. Simply put, your trackpad is sending the messages to the wrong window.

Not sure why you're not getting that.

- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"