LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CATCH mouse event!!! (https://www.linuxquestions.org/questions/linux-software-2/catch-mouse-event-79751/)

hongzhang 08-07-2003 03:19 AM

CATCH mouse event!!!
 
Hi, all

Im first here. I got a problem in my works. The question is how to catch the mouse event in X Window environment.

1. It's a standalone console program, looping for mouse event.

2. Im using X Window(Without GNOME and KDE, pure X), The Front Application are Movie Player or Image Slider.

3. When user clicks mouse button(do not care X,Y position), that mouse event catcher program could know it. Just stop all movie player or Image Slider App. Run another App.

I need a clue or example on the question, any help would be appreciated!!


Best regards,
Hong Zhang


All times are GMT -5. The time now is 04:05 AM.