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

@ -308,20 +308,20 @@ impl Program for CosmicWindowInternal {
return;
};
let mut cursor = seat
.get_pointer()
.unwrap()
.current_location()
.to_i32_round();
cursor.y -= SSD_HEIGHT;
Shell::menu_request(
state,
&surface,
&seat,
serial,
cursor - position.as_logical(),
false,
);
let mut cursor = seat
.get_pointer()
.unwrap()
.current_location()
.to_i32_round();
cursor.y -= SSD_HEIGHT;
Shell::menu_request(
state,
&surface,
&seat,
serial,
cursor - position.as_logical(),
false,
);
}
});
}