From da3983856b49771accaba2ff77f381df9a7caab7 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Fri, 22 Sep 2017 18:49:58 +0200 Subject: [PATCH] fix examples --- examples/winit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/winit.rs b/examples/winit.rs index c94472b..5529e5f 100644 --- a/examples/winit.rs +++ b/examples/winit.rs @@ -20,7 +20,7 @@ use smithay::backend::input::{self, Event, InputBackend, InputHandler, KeyboardK use smithay::backend::winit; use smithay::compositor::{SubsurfaceRole, TraversalAction}; use smithay::compositor::roles::Role; -use smithay::seat::{KbdHandle, PointerHandle, Seat}; +use smithay::seat::{KeyboardHandle, PointerHandle, Seat}; use smithay::shm::init_shm_global; use std::cell::RefCell; use std::rc::Rc; @@ -29,7 +29,7 @@ use wayland_server::protocol::wl_pointer; struct WinitInputHandler { log: Logger, pointer: PointerHandle, - keyboard: KbdHandle, + keyboard: KeyboardHandle, window_map: Rc>, pointer_location: (f64, f64), serial: u32,