-
Notifications
You must be signed in to change notification settings - Fork 948
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
macos: modified key issues #625
Comments
just confirmed these all started with #518 by |
One interesting thing to note is for alacritty/alacritty#1336, this might be working as intended? When I run the Apparently Since But for <CMD-`>, I'm not sure, since this is standard app/window behavior. Should winit just handle this? Should it be default behavior with an option to opt out from an application? |
I'm generally in favor of winit conforming to the conventions of the platform, which would entail letting the OS handle |
@francesca64 So would you consider alacritty/alacritty#1336 a |
Yes. Even if I weren't against it conceptually, the potential fix is unreasonably convoluted. |
So I found this, which in my testing appears to fix the before:
after:
But it doesn't fix the |
that branch fixes |
Interestingly, with
the |
Ok, added special handling for |
Sets whether the window should get IME events. When IME is not allowed, the window won’t receive Ime events, and will receive KeyboardInput events for every keypress instead. Without allowing IME, the window will also get ReceivedCharacter events for certain keyboard input. Not allowing IME is useful for games for example. https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_ime_purpose rust-windowing/winit#518 rust-windowing/winit#625 alacritty/alacritty#2017 servo/servo#20770
Not totally sure these are all related, but:
alacritty/alacritty#1336
alacritty/alacritty#1358
alacritty/alacritty#1428
#623
I suspect these all started with #518
@francesca64 has given some direction here
The text was updated successfully, but these errors were encountered: