tree: add Node::node_make_visible
This commit is contained in:
parent
289c201a69
commit
4bfa9fb7fc
15 changed files with 147 additions and 34 deletions
|
|
@ -211,6 +211,10 @@ impl Node for PlaceholderNode {
|
|||
Some(self)
|
||||
}
|
||||
|
||||
fn node_make_visible(self: Rc<Self>) {
|
||||
self.toplevel.make_visible(&*self);
|
||||
}
|
||||
|
||||
fn node_on_pointer_enter(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, _x: Fixed, _y: Fixed) {
|
||||
seat.pointer_cursor().set_known(KnownCursor::Default);
|
||||
seat.enter_toplevel(self.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue