all: run rustfmt
This commit is contained in:
parent
cc090b1d0f
commit
3abd72b330
1 changed files with 3 additions and 9 deletions
|
|
@ -1319,18 +1319,12 @@ impl Wm {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn move_to_top_of_stack(
|
fn move_to_top_of_stack(&mut self, window: &Rc<XwindowData>) {
|
||||||
&mut self,
|
|
||||||
window: &Rc<XwindowData>,
|
|
||||||
) {
|
|
||||||
let link = self.stack_list.add_last(window.clone());
|
let link = self.stack_list.add_last(window.clone());
|
||||||
*window.stack_link.borrow_mut() = Some(link);
|
*window.stack_link.borrow_mut() = Some(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn configure_stack_position(
|
async fn configure_stack_position(&mut self, window: &Rc<XwindowData>) {
|
||||||
&mut self,
|
|
||||||
window: &Rc<XwindowData>,
|
|
||||||
) {
|
|
||||||
let sl = window.stack_link.borrow_mut();
|
let sl = window.stack_link.borrow_mut();
|
||||||
let sl = match sl.deref() {
|
let sl = match sl.deref() {
|
||||||
Some(sl) => sl,
|
Some(sl) => sl,
|
||||||
|
|
@ -1341,7 +1335,7 @@ impl Wm {
|
||||||
_ => match sl.next() {
|
_ => match sl.next() {
|
||||||
Some(n) => (Some(n), STACK_MODE_BELOW),
|
Some(n) => (Some(n), STACK_MODE_BELOW),
|
||||||
_ => (None, STACK_MODE_ABOVE),
|
_ => (None, STACK_MODE_ABOVE),
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
let res = self
|
let res = self
|
||||||
.c
|
.c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue