Original Post
I'm using Linux + SDL + GL environment, and my program is running in fullscreen. It runs nicely if the standard mouse cursor is visible, but if I call SDL_ShowCursor(SDL_DISABLE) to disable the cursor, then my program gets unacceptably slow. Anyone knowing about this problem? update: After doing some more testing, it seems, that the values that SDL_GetMouseState(int *x, int *y) sets to the x and y are affected by the state of visibility of the cursor. Sounds strange. Is that supposed to happen? The effect is this: If I turn off the cursor, the movement of the mouse coordinates first seem to slow down. If I then turn the cursor back on, the mouse coordinates jump to the location where the cursor was last turned off. update: The problem does not exist if the screen is non-fullscreen. In non-fullscreen mode the mouse coordinates are unaffected by the hiding of the cursor. But fullscreen messes things up. update: The fact that the visibility of the cursor affects the mouse speed remains, but the "unacceptable slowness" I mentioned in the beginning has now vanished. I don't know what happened [looksaround] I did restart my gnome desktop manager in the between, at least... update: No! Now the unacceptable slowness appeared again! this is getting unpredictable [depressed] [Edited by - jostpuur on March 10, 2009 2:16:19 AM]