X/Xlib programming questions
ik
idokan at gmail.com
Mon Jan 4 14:59:47 IST 2010
Hello Erez,
I think you are looking for XQueryPointer (
http://www.xfree86.org/4.4.0/XQueryPointer.3.html).
Ido
http://ik.homelinux.org/
On Mon, Jan 4, 2010 at 12:20, Erez D <erez0001 at gmail.com> wrote:
> hello
>
> i want to send keyboard and mouse event to a window at position x,y.
> i thought of using XSendEvent
>
> how do i find which is the top most window at pos x,y (without moving
> the pointer position) ?
> what fields do i need to fill in the event i send via XSendEvent,
> i guess event.xbutton.serial and event.xbutton.send_event and
> event.xbutton.display are filled automatically by xlib. am i correct ?
>
> thanks,
> erez.
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100104/faf77841/attachment.html>
More information about the Linux-il
mailing list