FVWM: Intercepting X11 events: from where and how

From: Nicholas Paul Johnson <nickjohnson_at_virginia.edu>
Date: Mon, 10 May 2004 04:31:12 -0400 (EDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

Say I wanted to intercept all X11 events, using an LD_PRELOAD method.
Assume that _everything_ is dynamically linked.

If I redefine XSendEvent(), should I preload this into the window manager,
or into the X server itself? If XSendEvent() is not the function I should
intercept, then what should I intercept?


I guess these questions boil down to two questions:
        Who generates XEvents -- the window manager, the X server, or both?
and,
        When generating XEvents, does the source use XSendEvent()?


Thanks a lot,
- --
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Nicholas Paul Johnson
  o nickjohnson \at\ virginia \dot\ edu
  o 3ebf10a7 subkeys.pgp.net
  o http://manjac.ath.cx/nick
  o "When all you've got is a hammer,
    everything looks like a nail.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQFAnz3YfnGNDj6/EKcRApEiAJ9jFHOLH5X4jZB1Ti2/GKpTE/HYzgCfYxxT
jzy8oQZmJppqtUUm2bUa5vE=
=u+fv
-----END PGP SIGNATURE-----


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon May 10 2004 - 03:34:43 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST