mouse click statistics

Hi,

I am new to write X applications. I want to write an application to collect all windows event. In that case, I could process information like mouse click statistics. When I use XNextEvent associated with XSelectInput, I could only get the information inside the current disaply and window. My question is how can I access the global structure of fvwm from an application? Is there any global structure or API existed in fvwm? Thanks in advance.

–George

Look at the sources of the “FvwmEvent” module in $srcroot/fvw/modules/FvwmEvent. But you’ll have to be more specific about what it is you’re trying to do.

– Thomas Adam