FFI signature of x11::xlib::XTranslateCoordinates expects a *mut c_ulong.
Changing the cast to that instead of *mut u64 makes this compile on 32-bit
systems.
I can also confirm that the various examples run fine inside an arm32v7
docker image via X11.
FFI signature of
x11::xlib::XTranslateCoordinates
expects a*mut c_ulong
. Changing the cast to that instead of*mut u64
makes this compile on 32-bit systems.I can also confirm that the various examples run fine inside an arm32v7 docker image via X11.