> Playing with gii after
> export GII_INPUT=x
> I find that you all somehow coax relative mouse output from the x
> window system?  How do you do it?!

You mean technically ?

Form a user perspective you just press Ctrl-Alt-R or something like that
(might be shift-Alt).

Technically, we grab the mouse cursor and then reset it to the center of the 
window after each received event.

> I once had to do this, and couldn't find a good way out of
> clip-to-screen-rectangle pointer behavior.  I had to periodically warp
> the pointer back to the screen center in order to ensure a steady
> stream of unclipped events, and even then it wasn't perfect, one could
> launch a sneak attack by smacking the mouse really hard.

Grabbing the mouse should allow to read the mouse event even when it gets
outside the window. However afaik there is a hard limit at the physical
screen borders.

Cu, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>             =

Reply via email to