diff --git a/Cargo.toml b/Cargo.toml index 4e825f5..9c149f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ edition = "2018" license = "MIT OR Apache-2.0" [dependencies] -log = "0.4.11" keyboard-types = { version = "0.5.0", default-features = false } raw-window-handle = "0.3.3" rtrb = "0.1.1" @@ -24,7 +23,6 @@ static_assertions = "1.1.0" xcb = { version = "0.9", features = ["thread", "xlib_xcb", "dri2"] } x11 = { version = "2.18", features = ["xlib", "xcursor"] } xcb-util = { version = "0.3", features = ["icccm"] } -libc = "0.2" nix = "0.18" [target.'cfg(target_os="windows")'.dependencies] diff --git a/src/x11/xcb_connection.rs b/src/x11/xcb_connection.rs index db2113a..0be7aa1 100644 --- a/src/x11/xcb_connection.rs +++ b/src/x11/xcb_connection.rs @@ -82,7 +82,7 @@ impl XcbConnection { addr: std::ptr::null_mut(), }; - let mut value_type: *mut libc::c_char = std::ptr::null_mut(); + let mut value_type: *mut std::os::raw::c_char = std::ptr::null_mut(); let name_c_str = CString::new("Xft.dpi").unwrap(); let c_str = CString::new("Xft.Dpi").unwrap();