The-Fat-Controller
The-Fat-Controller copied to clipboard
Crash during initialization
In x11 mode immediate crash during device initialization Context::new()
. In Wayland mode it works as expected.
Error:
The application panicked (crashed). Message: unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed
isize::MAX
OS: Lubuntu 24.04
Libraries were installed
sudo apt install libx11-dev libxtst-dev libxkbcommon-dev
Cargo.toml:
tfc = { version = "0.7", features = ["x11"], optional = true }