| Summary: | Large xrel value when mouse hidden and grabbed. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dijon Page <skrot> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.2.9 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Test case for SDL warping code | ||
|
Description
Dijon Page
2006-05-31 00:17:59 UTC
Created attachment 135 [details]
Test case for SDL warping code
I have been compiling this code with:
g++ `sdl-config --cflags --libs` -o sdltest sdltest.cpp
I'm not seeing the behaviour here with this test program on Linux/x11 ... it's possible it's an old X server bug, or we fixed it in svn or something. --ryan. (In reply to comment #2) > I'm not seeing the behaviour here with this test program on Linux/x11 ... it's > possible it's an old X server bug, or we fixed it in svn or something. > > --ryan. > Hm I'm using xorg-x11 7.0-r1 on Gentoo. I just tried the SVN version of SDL, and I can still reproduce this behaviour every time. I'll give xorg 7.1 a shot over the next couple of days and see how it goes then. I'd just like to stress that for this to do what I'm saying, it is absolutely necessary that the mouse not be moved between the time when the cursor is shown/ungrabbed (after it warping silently) and when the cursor is hidden/grabbed. It's pretty hard to explain, but it's very simple for me to do.
Perhaps it is important so I'll include my xorg.conf mouse section. I'll give the evdev driver a go, if one of the gnome programs doesn't still die with it...
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
|