You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 1.2.11 Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2006-10-18 01:11:13 +0000, Ryan C. Gordon wrote:
(X11 driver only?)
Mouse motion events will only give endless relative values if mouse is hidden and grabbed when system cursor is in the SDL window. If the input is grabbed when the system cursor is outside the window, it'll only give relative motion events until it hits the edge of the window, and then no events will fire until the mouse rolls back in the opposite direction.
Easiest reproduction case: build program from here:
Start program, hit 'u' to ungrab the mouse, move it outside the window, and hit 'g' to regrab it. Watch mouse motion information on stdout, and how it clamps to window dimensions. Hit 'u' again and then 'g' while cursor is still inside the window and see that the absolute motion values still clamp to the window but the relative ones can go indefinitely in any direction.
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 1.2.11
Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2006-10-18 01:11:13 +0000, Ryan C. Gordon wrote:
On 2006-10-23 04:50:10 +0000, rasz wrote:
On 2006-10-23 05:13:17 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: