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 <erez0...@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@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to