Mouse motion in X11 fullscreen

Yesterday I upgraded SDL 1.0.3 with 1.0.6

Only with linux X11 fullscreen I’ve really had the
feeling that mouse motion handling has changed.
Cursor seems to move dinamically (I mean with
accelleration). Isn’t it?

I tried also to set SDL_WM_GrabInput(SDL_GRAB_OFF)
but nothing has changed (maybe this isn’t the right way).

Can someone help me?

Thanks.
Enzo.

Yesterday I upgraded SDL 1.0.3 with 1.0.6

Only with linux X11 fullscreen I’ve really had the
feeling that mouse motion handling has changed.
Cursor seems to move dinamically (I mean with
accelleration). Isn’t it?

Yah, the results of trying to emulate quake-like performance. :slight_smile:

The very latest SDL CVS snapshot has this turned off. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Yesterday I upgraded SDL 1.0.3 with 1.0.6

Only with linux X11 fullscreen I’ve really had the
feeling that mouse motion handling has changed.
Cursor seems to move dinamically (I mean with
accelleration). Isn’t it?

Yah, the results of trying to emulate quake-like performance. :slight_smile:

The very latest SDL CVS snapshot has this turned off. :slight_smile:

Uhm, has this option been flagged somewhere in code?
How can I turn it off using SDL’s stable version (1.0.8)?

Thanks for patience :slight_smile:

Enzo

Only with linux X11 fullscreen I’ve really had the
feeling that mouse motion handling has changed.
Cursor seems to move dinamically (I mean with
accelleration). Isn’t it?

Yah, the results of trying to emulate quake-like performance. :slight_smile:

The very latest SDL CVS snapshot has this turned off. :slight_smile:

Uhm, has this option been flagged somewhere in code?
How can I turn it off using SDL’s stable version (1.0.8)?

It’s now in the FAQ:

Q: How do I enable X11 mouse acceleration?

In general I’m going to try to make the FAQ more informative. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment SoftwareA: As of SDL 1.0.8, you can set the environment variable SDL_VIDEO_X11_MOUSEACCEL to “X/Y”, where ‘X’ is the numerator and ‘Y’ is the denomenator of the mouse acceleration. For example, if you wanted to set mouse acceleration to 2, you would set the variable to “2/1”. By default SDL does not change the current X11 mouse acceleration.

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec