Closed obv-mikhail closed 7 years ago
Is the xtest
cargo feature enabled?
[dependencies]
x11 = { version = "2.14.0", features = ["xtest"] }
If not, the function may be missing from your libXtst.so
. Here's a quick way to check:
readelf -sW /usr/lib/libXtst.so | grep XTestFakeKeyEvent
Thanks for the quick response. As you guessed, I forgot to enable the "xtest" feature. Everything works now.
Seem to only appear when xtest::XTestFakeKeyEvent is in the code. xtest::XTestFakeButtonEvent works fine.