autocommit 2022-04-20 14:58:34 CEST
This commit is contained in:
parent
c1773c0fee
commit
fa1ec0b36c
22 changed files with 583 additions and 185 deletions
|
|
@ -776,9 +776,9 @@ impl SizedNode for WlSurface {
|
|||
pn.node_replace_child(tl.as_node(), cn);
|
||||
}
|
||||
|
||||
fn close(&self) {
|
||||
fn close(self: &Rc<Self>) {
|
||||
if let Some(tl) = self.toplevel.get() {
|
||||
tl.close();
|
||||
tl.into_node().node_close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -838,9 +838,9 @@ impl SizedNode for WlSurface {
|
|||
}
|
||||
}
|
||||
|
||||
fn toggle_floating(self: &Rc<Self>, _seat: &Rc<WlSeatGlobal>) {
|
||||
fn toggle_floating(self: &Rc<Self>, seat: &Rc<WlSeatGlobal>) {
|
||||
if let Some(tl) = self.toplevel.get() {
|
||||
tl.toggle_floating();
|
||||
tl.into_node().node_toggle_floating(seat);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue