Mouse range doesn't update after second SDL_SetVideoMode
Bug #1018600 reported by
Clint Bellanger
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libsdl1.2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Invalid
|
Medium
|
Unassigned |
Bug Description
Version 1.2.14-6.4ubuntu3
When calling SDL_SetVideoMode a second time to resize a window, the max range of mouse positions isn't updated.
I created the attached bare-bones test.
Instructions:
- Build/run
- Mouse over the black area, then the blue area
- Click X on the window to end the test.
- The test app writes mouse coordinates to stdout.
- If Mouse Y positions appear that are between 480 and 640, the test passes.
- If Mouse Y positions are limited to 480 max, the test fails.
The test appears to fail for 1.2.14-6.4ubuntu3. It passes on my Windows builds.
Changed in libsdl1.2 (Ubuntu Precise): | |
status: | New → Incomplete |
status: | Incomplete → Opinion |
status: | Opinion → Invalid |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.