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(())
|
||||
}
|
||||
|
||||
fn move_to_top_of_stack(
|
||||
&mut self,
|
||||
window: &Rc<XwindowData>,
|
||||
) {
|
||||
fn move_to_top_of_stack(&mut self, window: &Rc<XwindowData>) {
|
||||
let link = self.stack_list.add_last(window.clone());
|
||||
*window.stack_link.borrow_mut() = Some(link);
|
||||
}
|
||||
|
||||
async fn configure_stack_position(
|
||||
&mut self,
|
||||
window: &Rc<XwindowData>,
|
||||
) {
|
||||
async fn configure_stack_position(&mut self, window: &Rc<XwindowData>) {
|
||||
let sl = window.stack_link.borrow_mut();
|
||||
let sl = match sl.deref() {
|
||||
Some(sl) => sl,
|
||||
|
|
@ -1341,7 +1335,7 @@ impl Wm {
|
|||
_ => match sl.next() {
|
||||
Some(n) => (Some(n), STACK_MODE_BELOW),
|
||||
_ => (None, STACK_MODE_ABOVE),
|
||||
}
|
||||
},
|
||||
};
|
||||
let res = self
|
||||
.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue