Searching for documentation
Peter Hutterer
mailinglists at who-t.net
Thu Mar 16 18:49:12 PST 2006
If it's an external program and should not be somewhere within the X
source code then look at the man pages for
XWarpPointer (moves the pointer)
XSendEvent (to send a button event)
getting information about the windows via
XQueryTree (to get a window list)
XGetWindowAttributes (to get information about a window)
XSetInputFocus/XGetInputFocus (to set/get the focus)
XChangeWindowAttributes (to change the attributes of a window).
Cheers,
Peter
On 17/03/2006, at 12:33 PM, Jaime wrote:
> Hi all, Im searching for documentation for doing some things and I'm a
> little lost. Things that I want to do are:
> -Control the movements and click's of mouse
> -Knowing window's size and position, give them focus or not and
> resize them
>
> At first I though I could modify the mouse driver (I read driver's
> documentation from www.x.org and although there's no information about
> input drivers, source code of mouse driver it's well documented) but I
> don't know if there would be another way to do this, surely better
> than changing mouse driver in the config file, maybe it is possible
> for a program to get control of these things?
> I'm not used to program graphics apps, so that's because I'm lost and
> I don't know where to start, xlib? xcb?
> I only want to make an app being capable to do these 2 things, it
> wouldn't do anything else (I mean, there won't be any graphic
> interface or requirement) what should I use&read?
>
>
> Thanks in advance
>
> PD:Sorry about my english :)
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
More information about the xorg
mailing list