Display *dpy;
int rx;
int ry;
int wx;
int wy;
Window root;
Window child;
unsigned int mask;
Bool bo;
dpy = XOpenDisplay(NULL);
bo = XQueryPointer(dpy,
RootWindow(dpy,0),
root,
child,
rx,
Dear all,
I am porting an application from Windows to Linux.
In the application at some point of time i require the cordinates of
mouse pointer.
(Application developer of windows has achieved this by concept of
Mouse Hooking).
After doing some research and study i think the blow API shud serve
2 matches
Mail list logo