fix examples
This commit is contained in:
parent
532cb6b78e
commit
da3983856b
|
@ -20,7 +20,7 @@ use smithay::backend::input::{self, Event, InputBackend, InputHandler, KeyboardK
|
||||||
use smithay::backend::winit;
|
use smithay::backend::winit;
|
||||||
use smithay::compositor::{SubsurfaceRole, TraversalAction};
|
use smithay::compositor::{SubsurfaceRole, TraversalAction};
|
||||||
use smithay::compositor::roles::Role;
|
use smithay::compositor::roles::Role;
|
||||||
use smithay::seat::{KbdHandle, PointerHandle, Seat};
|
use smithay::seat::{KeyboardHandle, PointerHandle, Seat};
|
||||||
use smithay::shm::init_shm_global;
|
use smithay::shm::init_shm_global;
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
@ -29,7 +29,7 @@ use wayland_server::protocol::wl_pointer;
|
||||||
struct WinitInputHandler {
|
struct WinitInputHandler {
|
||||||
log: Logger,
|
log: Logger,
|
||||||
pointer: PointerHandle,
|
pointer: PointerHandle,
|
||||||
keyboard: KbdHandle,
|
keyboard: KeyboardHandle,
|
||||||
window_map: Rc<RefCell<MyWindowMap>>,
|
window_map: Rc<RefCell<MyWindowMap>>,
|
||||||
pointer_location: (f64, f64),
|
pointer_location: (f64, f64),
|
||||||
serial: u32,
|
serial: u32,
|
||||||
|
|
Loading…
Reference in New Issue