I've got an application written for Linux that compiles and mostly
works on FreeBSD. However, one feature isn't working. At one point, it
wants to make the application owning a specific window think that a
specific key was pressed. The original author wasn't quite sure how to
do this, as witness the comment:

  /* I am not sure which of the following fields I have to fill in or
     what to fill them in with (rcy) I wouldnt be suprised if this
     breaks in some cases.  */

Well, FreeBSD using XFree86-4 seems to be one of the cases, as
debugging output shows the XSendEvent being run, but the underlying
applications don't react to the key.

Could an X guru provide a correct example of faking a key press event?

        Thanx,
        <mike
--
Mike Meyer <[EMAIL PROTECTED]>                      http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?              A: Tell them your plans.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to