[sugar] Capturing all mouse events

Marco Pesenti Gritti mpgritti
Sat May 31 04:42:56 EDT 2008


afaik there is no good way to do so... There is an extension (Xevie)
but according to Jim And Keith it's not very maintained/complete. We
need it badly for the frame if you figure something out :)

Marco

On Sat, May 31, 2008 at 3:38 AM, Benjamin M. Schwartz
<bmschwar at fas.harvard.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Does anyone know how to capture all mouse events?  I am trying to get all
> mouse button up/down events, and maybe even all motion events.  I have
> tried using gdk to listen to all events on the root window, but it doesn't
> seem to capture mouse events.
>
> It seems like the right way might be to use Xlib, or to hook into the
> window manager, or the X driver, or just listen to /dev/input/mouse0.  I
> don't know much about any of these.  What would you do?
>
> - --Ben
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkhArB8ACgkQUJT6e6HFtqSRSQCfatqMr9Ksdn204nEtaH89dV8r
> kp8AnAxkPIq/bqnUJENnBze/GFMSgkXt
> =IdMQ
> -----END PGP SIGNATURE-----
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>



More information about the Sugar-devel mailing list