Skip to content

Emscripten: Move global event handlers #12738

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

Temdog007
Copy link
Contributor

Moved global event handlers from SDL_CreateWindow to SDL_VideoInit

  • emscripten_set_mouseup_callback
  • emscripten_set_focus_callback
  • emscripten_set_blur_callback
  • emscripten_set_pointerlockchange_callback
  • emscripten_set_fullscreenchange_callback
  • emscripten_set_resize_callback

This change will be necessary for #12575

Moved the event handlers from SDL_CreateWindow to SDL_VideoInit
emscripten_set_mouseup_callback
emscripten_set_focus_callback
emscripten_set_blur_callback
emscripten_set_pointerlockchange_callback
emscripten_set_fullscreenchange_callback
emscripten_set_resize_callback
@slouken slouken merged commit d6d2c95 into libsdl-org:main Apr 4, 2025
39 checks passed
@slouken
Copy link
Collaborator

slouken commented Apr 4, 2025

Merged, thanks!

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

Successfully merging this pull request may close these issues.

2 participants