I had this issue myself here in Ubuntu 12.04 with the SDL games. The easiest fix I was able to come up with was to edit /etc/environment file and add "SDL_VIDEO_X11_DGAMOUSE=0" to the end of it then re-log. It applied the change system-wide so all SDL games were fixed.
I had this issue myself here in Ubuntu 12.04 with the SDL games. The easiest fix I was able to come up with was to edit /etc/environment file and add "SDL_VIDEO_ X11_DGAMOUSE= 0" to the end of it then re-log. It applied the change system-wide so all SDL games were fixed.