From 82bb047fda3912489d024dbf40613168ded50527 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sun, 20 Sep 2015 08:48:53 +0200 Subject: Report the error from x11-rs when failing to open shared libraries --- src/api/x11/ffi.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/api/x11/ffi.rs') diff --git a/src/api/x11/ffi.rs b/src/api/x11/ffi.rs index 3d4f0ed..465aa95 100644 --- a/src/api/x11/ffi.rs +++ b/src/api/x11/ffi.rs @@ -5,6 +5,8 @@ pub use x11_dl::xlib::*; pub use x11_dl::xinput::*; pub use x11_dl::xinput2::*; +pub use x11_dl::error::OpenError; + pub use self::glx::types::GLXContext; /// GLX bindings -- cgit v1.2.3