formatting fixes

This commit is contained in:
Victoria Brekenfeld 2023-12-20 20:51:04 +00:00 committed by Victoria Brekenfeld
parent 0ac12ce202
commit f928f80f09
4 changed files with 144 additions and 143 deletions

View file

@ -600,7 +600,7 @@ impl State {
let under =
State::surface_under(position, &current_output, &mut self.common.shell)
.map(|(target, pos)| (target, pos.as_logical()));
.map(|(target, pos)| (target, pos.as_logical()));
let ptr = seat.get_pointer().unwrap();
@ -674,7 +674,7 @@ impl State {
let output_geometry = output.geometry();
let new_under = State::surface_under(position, &output, &mut self.common.shell)
.map(|(target, pos)| (target, pos.as_logical()));
.map(|(target, pos)| (target, pos.as_logical()));
position.x = position.x.clamp(
output_geometry.loc.x as f64,
@ -791,7 +791,7 @@ impl State {
.as_global();
let serial = SERIAL_COUNTER.next_serial();
let under = State::surface_under(position, &output, &mut self.common.shell)
.map(|(target, pos)| (target, pos.as_logical()));
.map(|(target, pos)| (target, pos.as_logical()));
for session in sessions_for_output(&self.common, &output) {
if let Some((geometry, offset)) = seat.cursor_geometry(