How can I catch all mouse events?j
Daniel Stone
daniel at fooishbar.org
Mon Jun 2 15:56:13 PDT 2008
On Mon, Jun 02, 2008 at 03:06:09PM -0400, Benjamin M. Schwartz wrote:
> I am trying to do something very simple: change the default cursor
> whenever a mouse button is pressed down, and change back when the button
> is released. For example, a normally black cursor graphic might be
> switched out for one with a white fill to indicate that a mouse button is
> depressed. This would be useful for audiences watching a demonstration on
> a projector, or even looking over a friend's shoulder if you can't hear
> the audible click. There are also obvious applications to MPX, but that
> is more advanced.
>
> Question 1: How would you implement this?
XGrabButton.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080603/26ea0f78/attachment.pgp>
More information about the xorg
mailing list