Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bogus mouse motion event on window creation... #241

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Bogus mouse motion event on window creation... #241

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
worksforme We can't reproduce the bug

Comments

@SDLBugzilla
Copy link
Collaborator

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:02:20 +0000, Ryan C. Gordon wrote:

(X11 driver.)

It appears that if the system cursor happens to be inside the window built by SDL_SetVideoMode() upon creation, SDL will generate a bogus mouse motion event.

http://www.libsdl.org/pipermail/sdl/2006-October/076927.html

(Contrary to original post, it isn't related to SDL_ShowCursor() or input grabbing, although input grabbing guarantees that it will trigger, since it moves the cursor into the window.)

The default Gnome window manager, metacity, puts all new windows in the top left corner of the screen. This makes it easy to reproduce this issue.

--ryan.

On 2007-06-02 13:58:57 +0000, Ryan C. Gordon wrote:

Bumping a bunch of bugs to Priority 1 for consideration for the 1.2.12 release.

--ryan.

On 2007-07-05 02:18:41 +0000, Ryan C. Gordon wrote:

Updated mailing list URL:

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-October/058402.html

Hmm, I can't reproduce this any more, or I misunderstood the original report.

--ryan.

@SDLBugzilla SDLBugzilla added bug worksforme We can't reproduce the bug labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme We can't reproduce the bug
Projects
None yet
Development

No branches or pull requests

1 participant