I noticed that the speed of the mouse cursor movement in Linux and Windows is different. I mean in 1280x960 (my desktop resolution) it's approximately the same, but when I run a 640x480 game in fullscreen mode there's a big difference. In Windows you physically have to move the same distance to get the cursor from left to right edge of the screen or from top to bottom as when you're in dektop mode. But on Linux the absolute speed of the cursor stays the same in fullscreen so in 640x480 you only need to move the mouse half as much as at 1280x960 to cover the entire screen. This makes the mouse feel twice as sensitive and it makes fullscreen Allegro games running at resolutions lower that 1280x960 (or similar) almost impossible to play.
Is there any way, either in the mouse settings in Linux or in Allegro, to fix this? If moving the mouse 4cm on my desk means the cursor to go from left edge to the right in the 1280x960 desktop, I want the same thing to happen in my 640x480 fullscreen game. Or am I asking too much?
Btw, set_mouse_speed() doesn't seem to have any effect.