autocommit 2022-02-20 15:31:54 CET
This commit is contained in:
parent
0f2fbcc5e7
commit
26fab1e3e2
10 changed files with 198 additions and 19 deletions
|
|
@ -637,6 +637,14 @@ impl Node for WlSurface {
|
|||
xdg.move_focus(seat, direction);
|
||||
}
|
||||
|
||||
fn move_self(self: Rc<Self>, direction: Direction) {
|
||||
let xdg = match self.xdg.get() {
|
||||
Some(x) => x,
|
||||
_ => return,
|
||||
};
|
||||
xdg.move_self(direction);
|
||||
}
|
||||
|
||||
fn absolute_position(&self) -> Rect {
|
||||
self.buffer_abs_pos.get()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue