Bug Description
There is a build error when trying to run the examples
Steps to Reproduce
- run
cargo run --example demo
Expected Behavior
Build succeeds, and example is run.
Actual Behavior
Seeing following error:
error[E0599]: no method named `setup` found for reference `&XCBConnection` in the current scope
--> /home/aj/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adabraka-gpui-0.5.1/src/platform/linux/global_hotkey.rs:54:25
|
54 | let setup = xcb.setup();
| ^^^^^ private field, not a method
|
= help: items from traits can only be used if the trait is in scope
help: trait `Connection` which provides `setup` is implemented but not in scope; perhaps you want to import it
|
31 + use x11rb::connection::Connection;
Environment
- OS: Cachy OS
- Rust Version: rustc 1.93.1 (01f6ddf75 2026-02-11)
- GPUI Version: [e.g., 0.5.0]
- adabraka-ui Version: [e.g., 0.3.9]
Checklist
Bug Description
There is a build error when trying to run the examples
Steps to Reproduce
cargo run --example demoExpected Behavior
Build succeeds, and example is run.
Actual Behavior
Seeing following error:
Environment
Checklist