Skip to content

Commit 11d72d8

Browse files
maan2003james-lawrence
authored andcommitted
Some unused stuff
1 parent bfdb54b commit 11d72d8

File tree

1 file changed

+3
-3
lines changed
  • druid-shell/src/backend/shared/xkb

1 file changed

+3
-3
lines changed

druid-shell/src/backend/shared/xkb/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ use crate::{
2222
};
2323
use keyboard_types::{Code, Key};
2424
use std::convert::TryFrom;
25-
use std::os::raw::{c_char, c_int};
25+
use std::os::raw::c_char;
2626
use std::ptr;
2727
use xkbcommon_sys::*;
28-
use xkbcommon_sys::*;
2928

3029
#[cfg(feature = "x11")]
3130
use x11rb::xcb_ffi::XCBConnection;
3231

33-
pub struct DeviceId(c_int);
32+
#[cfg(feature = "x11")]
33+
pub struct DeviceId(std::os::raw::c_int);
3434

3535
/// A global xkb context object.
3636
///

0 commit comments

Comments
 (0)