-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
DS - X11Xlib / Xcb backendXlib / Xcb backenddocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Trying to run the rectangle.rs + winit_app.rs mod example.
thread 'main' (359913) panicked at /home/neko/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/softbuffer-0.4.8/src/backends/x11.rs:397:21:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Config:
winit = { version = "0.30.12", features = ["x11", "rwh_06"], default-features = false }
Hyprland/nixos
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell rec {
buildInputs = with pkgs; [ libxkbcommon libxi libx11 libxcursor gnumake pkg-config];
shellHook = ''
export LD_LIBRARY_PATH=${ pkgs.lib.makeLibraryPath buildInputs }/:$LD_LIBRARY_PATH
'';
}```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DS - X11Xlib / Xcb backendXlib / Xcb backenddocumentationImprovements or additions to documentationImprovements or additions to documentation