-
Notifications
You must be signed in to change notification settings - Fork 922
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
Add support for XCB #5
Comments
Some machines don't support
|
Found this library as a potential workaround: https://github.com/Aatch/rust-xcb |
Just a heads up for anyone searching a workaround. The intel linux driver does indeed support xlib, but it has to be enabled at compile time. For anyone using archlinux, I have submitted a feature request to their bug tracker (https://bugs.archlinux.org/task/50160). It looks like they are working on it (or at least are aware of the problem). For other distros, you can try submitting a bug report to their corresponding bug tracker. |
Thanks for the info @nicokoch |
With xlib I'm experiencing (in vulkan) |
Is this still relevant? |
This is still relevant, but not really a priority. |
Just fyi: |
I don't believe adding a full-fledged XCB backend to be a good idea until winit stabilizes more. We have enough of a struggle keeping the existing backends synchronized. That said, are you sure that using the return of |
I did not know that |
…iers macos: Add a hook to update stale modifiers
This seems to be the cause of a UnsupportedWindowHandle error for my Ubuntu station on a "HP Prodesk 600 Small Form Factor" |
At least for reference it's probably worth linking this PR here which quietly includes a full port to xcb: #2088 :) At least one notable concern is that a side effect of a full port to xcb (as opposed to more of a hybrid approach that just optimizes certain request sequences with xcb but keeps xlib for event processing) is that it would remove XIM based IME support. XIM is arguable quite archaic and there should be better ways to support IMEs, like having direct support for ibus perhaps, but still something to consider. |
It won't and it'll likely fixed it. We can't support ibus directly, since it's, you know, ibus, and other IMEs won't work.
We can use this https://crates.io/crates/xcb-imdkit |
Sorry I didn't quite follow this part of your reply, but yeah planning to integrate something like xcb-imdkit sounds reasonable, at least for compatibility. I mainly just wanted to link the existence of an xcb port back to this issue and highlight that currently it would result in removing XIM based IME support. |
This would be closed by #2614. |
No description provided.
The text was updated successfully, but these errors were encountered: