| Summary: | Mouse resets to center position every four seconds in fullscreen mode | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Tapio Raevaara <tapio.raevaara> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | bugzilla, espen_g, m.arefiev |
| Version: | 1.2.12 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
|
Description
Tapio Raevaara
2007-08-31 05:03:01 UTC
I am experiencing this thing too, but with jump period of ≈8 seconds. LibSDL 1.2.12-1, X.org 1:7.3+2, kernel 2.6.22-1-k7 (Debian stock), sinful proprietary drivers from nVidia 100.14.11-1 and xserver-xorg-video-nv 1:2.1.2-2 (tried both). Graphic card is GeForce 5600XT. What kind of mouse/mouse driver are you guys using? If you are using an "evdev" mouse it might be related to bug 617. Is this still happening with the latest SDL snapshot? http://www.libsdl.org/tmp/SDL-1.2.zip No response from the customer, I'm closing this for now. Please reopen this as a 1.3 bug if it's an issue there. This is probably caused by "unclutter". Unclutter is a tool that hides the mouse pointer after a few (user-configurable) seconds. I'm using it and most SDL games have this problem. Killing unclutter resolves it. It would be nice if it didn't happen though, but I haven't had a look at either unclutter of SDL's source code to see what's causing that behaviour... Using the "-grab" option of unclutter seems to solve the issue for me and my program (which uses SDL_WM_GrabInput(SDL_GRAB_ON).) This option doesn't seem to cause any problem at first sight... Unclutter README: http://ftp.x.org/contrib/utilities/unclutter-8.README Source code: http://ftp.x.org/contrib/utilities/unclutter-8.tar.Z Yeah, if you are using grab in your SDL application, it means that unclutter can't manipulate the mouse, so you need unclutter to grab the mouse and modify the cursor. |