tree: use trunc instead of round when scrolling containers
This commit is contained in:
parent
b7831e1019
commit
ec9710983c
14 changed files with 70 additions and 6 deletions
|
|
@ -321,6 +321,7 @@ impl Node for XdgPopup {
|
|||
}
|
||||
|
||||
fn node_on_pointer_focus(&self, seat: &Rc<WlSeatGlobal>) {
|
||||
// log::info!("xdg-popup focus");
|
||||
seat.set_known_cursor(KnownCursor::Default);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -426,6 +426,7 @@ impl Node for XdgToplevel {
|
|||
}
|
||||
|
||||
fn node_on_pointer_focus(&self, seat: &Rc<WlSeatGlobal>) {
|
||||
// log::info!("xdg-toplevel focus");
|
||||
seat.set_known_cursor(KnownCursor::Default);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -374,6 +374,7 @@ impl Node for Xwindow {
|
|||
}
|
||||
|
||||
fn node_on_pointer_focus(&self, seat: &Rc<WlSeatGlobal>) {
|
||||
// log::info!("wl-surface focus");
|
||||
seat.set_known_cursor(KnownCursor::Default);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue