Skip to content

Commit c3d7fdb

Browse files
maan2003james-lawrence
authored andcommitted
yes the code is dead
1 parent 11d72d8 commit c3d7fdb

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ impl Context {
7979
/// Create a keymap from some given data.
8080
///
8181
/// Uses `xkb_keymap_new_from_buffer` under the hood.
82+
#[cfg(feature = "wayland")]
8283
pub fn keymap_from_slice(&self, buffer: &[u8]) -> Keymap {
8384
// TODO we hope that the keymap doesn't borrow the underlying data. If it does' we need to
8485
// use Rc. We'll find out soon enough if we get a segfault.

0 commit comments

Comments
 (0)