Run cargo fmt
This commit is contained in:
parent
44bf1c316f
commit
9b98c20da2
1 changed files with 10 additions and 29 deletions
|
|
@ -1165,11 +1165,7 @@ impl State {
|
|||
.position_transformed(geometry.size.as_logical())
|
||||
.as_global();
|
||||
|
||||
let under = State::surface_under(
|
||||
position,
|
||||
&output,
|
||||
&mut self.common.shell,
|
||||
)
|
||||
let under = State::surface_under(position, &output, &mut self.common.shell)
|
||||
.map(|(target, pos)| (target, pos.as_logical()));
|
||||
|
||||
if let Some((target, pos)) = under {
|
||||
|
|
@ -1200,11 +1196,7 @@ impl State {
|
|||
.position_transformed(geometry.size.as_logical())
|
||||
.as_global();
|
||||
|
||||
let under = State::surface_under(
|
||||
position,
|
||||
&output,
|
||||
&mut self.common.shell,
|
||||
)
|
||||
let under = State::surface_under(position, &output, &mut self.common.shell)
|
||||
.map(|(target, pos)| (target, pos.as_logical()));
|
||||
|
||||
if let Some((_target, pos)) = under {
|
||||
|
|
@ -1243,11 +1235,7 @@ impl State {
|
|||
.as_global()
|
||||
+ geometry.loc.to_f64();
|
||||
|
||||
let under = State::surface_under(
|
||||
position,
|
||||
&output,
|
||||
&mut self.common.shell,
|
||||
)
|
||||
let under = State::surface_under(position, &output, &mut self.common.shell)
|
||||
.map(|(target, pos)| (target, pos.as_logical()));
|
||||
|
||||
let pointer = seat.get_pointer().unwrap();
|
||||
|
|
@ -1308,11 +1296,7 @@ impl State {
|
|||
.as_global()
|
||||
+ geometry.loc.to_f64();
|
||||
|
||||
let under = State::surface_under(
|
||||
position,
|
||||
&output,
|
||||
&mut self.common.shell,
|
||||
)
|
||||
let under = State::surface_under(position, &output, &mut self.common.shell)
|
||||
.map(|(target, pos)| (target, pos.as_logical()));
|
||||
|
||||
let pointer = seat.get_pointer().unwrap();
|
||||
|
|
@ -1947,10 +1931,7 @@ impl State {
|
|||
}
|
||||
}
|
||||
Action::Focus(focus) => {
|
||||
let result = self.common.shell.next_focus(
|
||||
focus,
|
||||
seat,
|
||||
);
|
||||
let result = self.common.shell.next_focus(focus, seat);
|
||||
|
||||
match result {
|
||||
FocusResult::None => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue