seat: uniformly convert scroll steps to scroll px
This commit is contained in:
parent
2a9c746781
commit
b89d72fcd9
7 changed files with 23 additions and 58 deletions
|
|
@ -32,7 +32,6 @@ use {
|
|||
object::Object,
|
||||
rect::{Rect, Region},
|
||||
render::Renderer,
|
||||
state::DeviceHandlerData,
|
||||
tree::{
|
||||
FindTreeResult, FoundNode, Node, NodeId, NodeVisitor, NodeVisitorBase, OutputNode,
|
||||
ToplevelNode,
|
||||
|
|
@ -1094,13 +1093,8 @@ impl Node for WlSurface {
|
|||
seat.button_surface(&self, time_usec, button, state, serial);
|
||||
}
|
||||
|
||||
fn node_on_axis_event(
|
||||
self: Rc<Self>,
|
||||
dev: &DeviceHandlerData,
|
||||
seat: &Rc<WlSeatGlobal>,
|
||||
event: &PendingScroll,
|
||||
) {
|
||||
seat.scroll_surface(dev, &*self, event);
|
||||
fn node_on_axis_event(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, event: &PendingScroll) {
|
||||
seat.scroll_surface(&*self, event);
|
||||
}
|
||||
|
||||
fn node_on_focus(self: Rc<Self>, seat: &Rc<WlSeatGlobal>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue