1
0
Fork 0
forked from wry/wry

autocommit 2022-04-10 01:35:15 CEST

This commit is contained in:
Julian Orth 2022-04-10 01:35:15 +02:00
parent 21e2216ce5
commit befd5e99b2
22 changed files with 280 additions and 114 deletions

View file

@ -1,10 +1,10 @@
use {
crate::{
backend::{KeyState, ScrollAxis},
backend::KeyState,
client::{Client, ClientId},
fixed::Fixed,
ifs::{
wl_seat::{Dnd, NodeSeatState, WlSeatGlobal},
wl_seat::{wl_pointer::PendingScroll, Dnd, NodeSeatState, WlSeatGlobal},
wl_surface::WlSurface,
},
rect::Rect,
@ -197,10 +197,9 @@ pub trait Node {
let _ = state;
}
fn scroll(&self, seat: &WlSeatGlobal, delta: i32, axis: ScrollAxis) {
fn axis_event(&self, seat: &WlSeatGlobal, event: &PendingScroll) {
let _ = seat;
let _ = delta;
let _ = axis;
let _ = event;
}
fn focus(self: Rc<Self>, seat: &Rc<WlSeatGlobal>) {