Skip to content

[BUG] Cannot run example on Linux #8

Description

@aurabindo

Bug Description

There is a build error when trying to run the examples

Steps to Reproduce

  1. 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

  • I have searched existing issues to avoid duplicates
  • I have provided all required information
  • I have included a minimal reproducible example
  • I have tested with the latest version of adabraka-ui

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions