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

UnexpectedNull("XOpenIM") on winit 0.30.8 #4082

Open
koute opened this issue Jan 14, 2025 · 0 comments
Open

UnexpectedNull("XOpenIM") on winit 0.30.8 #4082

koute opened this issue Jan 14, 2025 · 0 comments
Labels
B - bug Dang, that shouldn't have happened DS - x11

Comments

@koute
Copy link

koute commented Jan 14, 2025

Description

winit 0.30.8 seems to be broken on my system, failing with the following error (it reproduces with the simple example copy-pasted from the toplevel page of crate docs):

called `Result::unwrap()` on an `Err` value: OsError { line: 533, file: "~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.8/src/platform_impl/linux/x11/window.rs", error: XError(UnexpectedNull("XOpenIM")) }

If I pin winit to 0.30.7 then it works properly.

This is the culprit; if I revert that commit then it works properly again.

OS and window mananger

Arch Linux, StumpWM, using uim as my IME

Winit version

0.30.8

@koute koute added B - bug Dang, that shouldn't have happened DS - x11 labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - x11
Development

No branches or pull requests

1 participant