Re: FVWM: Xlib questions

From: Carl R. Witty <cwitty_at_newtonlabs.com>
Date: 15 Oct 1998 13:08:08 -0700

Ludovic Drolez <ldrolez_at_usa.net> writes:

> Hi Xlib/Xprotocol hackers !
>
> I am currently trying to write an X11 client that send (with
> XHi Xlib/Xprotocol hackers !SendEvent) fake X11 events (MotionEvent,
> ButtonPress, KeyPress),
> to control the pointer and the keyboard from an X client.
> But I have a problem: XSendEvent needs a target window ID.

Instead of giving it a real window ID, you can pass the magic value
PointerWindow, which does exactly what you want. (Search the
XSendEvent man page for "PointerWindow".)

Carl Witty
cwitty_at_newtonlabs.com
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Oct 15 1998 - 15:09:53 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST