Migrate away from Rectangle::from_loc_and_size

Deprecated in `smithay` by https://github.com/Smithay/smithay/pull/1621.
This commit is contained in:
Ian Douglas Scott 2024-12-26 18:18:35 -08:00 committed by Victoria Brekenfeld
parent 9074447c4f
commit b685512127
26 changed files with 184 additions and 201 deletions

View file

@ -38,7 +38,7 @@ struct Mirroring(Mutex<Option<WeakOutput>>);
impl OutputExt for Output {
fn geometry(&self) -> Rectangle<i32, Global> {
Rectangle::from_loc_and_size(self.current_location(), {
Rectangle::new(self.current_location(), {
Transform::from(self.current_transform())
.transform_size(
self.current_mode()