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

Windows: SDL locks modifier state after opening a dialog #5157

Closed
six809 opened this issue Jan 1, 2022 · 1 comment
Closed

Windows: SDL locks modifier state after opening a dialog #5157

six809 opened this issue Jan 1, 2022 · 1 comment
Assignees
Milestone

Comments

@six809
Copy link

six809 commented Jan 1, 2022

If I, say, make Control+L open a Windows load dialog, after it closes, SDL assumes Control is still pressed.

git bisect blames commit c542de9

http://www.6809.org.uk/tmp/xroar/focus-test.c (or .exe for a built test)

Edit: alt+tabbing away and back again prompts SDL to reread mod state.

@slouken slouken self-assigned this Jan 2, 2022
@slouken slouken added this to the 2.0.20 milestone Jan 2, 2022
@slouken slouken closed this as completed in 957c48b Jan 7, 2022
@slouken
Copy link
Collaborator

slouken commented Jan 7, 2022

Thanks for the excellent test case. This is fixed for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants