Xlib and mouse events

This is a discussion on Xlib and mouse events within the X forums, part of the Help category; Hi, I want to make a C program which capture all mouse events, not only those from a given window, is it possible ? If yes, how ? I tried ...

Go Back   Unix Linux Forum > Unix > Linux > Help > X

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-19-2008, 05:59 AM
Default Xlib and mouse events

Hi,

I want to make a C program which capture all mouse events, not only
those from a given window, is it possible ?
If yes, how ?

I tried a XSelectInput(dpy, DefaultRootWindow(dpy), myMASK) but It
didn't work.

Thanks in advance,
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 02:53 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger